Home
last modified time | relevance | path

Searched refs:pixel_format (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c36 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
41 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
46 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
51 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
56 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
61 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
66 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
71 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
76 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
81 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
H A Ddcn201_dpp.c53 uint32_t pixel_format = 0; in dpp201_cnv_setup() local
78 pixel_format = 1; in dpp201_cnv_setup()
81 pixel_format = 3; in dpp201_cnv_setup()
86 pixel_format = 8; in dpp201_cnv_setup()
90 pixel_format = 10; in dpp201_cnv_setup()
95 pixel_format = 65; in dpp201_cnv_setup()
101 pixel_format = 64; in dpp201_cnv_setup()
107 pixel_format = 67; in dpp201_cnv_setup()
113 pixel_format = 66; in dpp201_cnv_setup()
118 pixel_format = 22; in dpp201_cnv_setup()
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dgop.c162 pf = info->pixel_format; in choose_mode_modenum()
193 static u8 pixel_bpp(int pixel_format, efi_pixel_bitmask_t pixel_info) in pixel_bpp() argument
195 if (pixel_format == PIXEL_BIT_MASK) { in pixel_bpp()
208 int pf = info->pixel_format; in match_res()
240 int pf = info->pixel_format; in match_auto()
266 int pf = info->pixel_format; in match_list()
387 if (info->pixel_format == PIXEL_BIT_MASK) { in setup_screen_info()
395 if (info->pixel_format == PIXEL_RGB_RESERVED_8BIT_PER_COLOR) { in setup_screen_info()
450 if (info->pixel_format == PIXEL_BLT_ONLY || in find_handle_with_primary_gop()
451 info->pixel_format >= PIXEL_FORMAT_MAX) in find_handle_with_primary_gop()
/linux/drivers/gpu/drm/armada/
H A Darmada_fbdev.c58 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_driver_fbdev_probe()
81 drm_get_format_info(dev, mode.pixel_format, in armada_fbdev_driver_fbdev_probe()
H A Darmada_fb.c30 switch (mode->pixel_format) { in armada_framebuffer_create()
98 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c79 __le32 pixel_format; member
260 __le32 pixel_format; in appletbdrm_get_information() local
277 pixel_format = get_unaligned(&info->pixel_format); in appletbdrm_get_information()
288 if (pixel_format != APPLETBDRM_PIXEL_FORMAT) { in appletbdrm_get_information()
289 drm_err(drm, "Encountered unknown pixel format (%p4cl)\n", &pixel_format); in appletbdrm_get_information()
H A Darcpgu.c121 uint32_t pixel_format = fb->format->format; in arc_pgu_set_pxl_fmt() local
127 if (arc_pgu_supported_formats[i] == pixel_format) in arc_pgu_set_pxl_fmt()
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_helper.h31 struct pixel_format pixel;
42 const struct pixel_format *pixel);
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_kms.c125 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create()
128 &mode_cmd->pixel_format); in shmob_drm_fb_create()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c273 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new()
274 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new()
275 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new()
276 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new()
282 &mode_cmd->pixel_format, in nouveau_framebuffer_new()
/linux/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.h18 u32 pixel_format; member
/linux/drivers/gpu/drm/msm/disp/
H A Dmdp_format.h56 uint32_t pixel_format; member
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c379 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
382 if (formats[i] == mode_cmd->pixel_format) in omap_framebuffer_init()
388 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
/linux/drivers/gpu/drm/panel/
H A Dpanel-ilitek-ili9341.c162 u8 pixel_format; member
280 .pixel_format = ILI9341_PIXEL_DPI_16_BITS,
344 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, cfg->pixel_format); in ili9341_dpi_init()
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front.h143 u32 height, u32 pixel_format);
H A Dxen_drm_front.c277 u32 height, u32 pixel_format) in xen_drm_front_fb_attach() argument
303 req->op.fb_attach.pixel_format = pixel_format; in xen_drm_front_fb_attach()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c200 format = rzg2l_du_format_info(mode_cmd->pixel_format); in rzg2l_du_fb_create()
203 &mode_cmd->pixel_format); in rzg2l_du_fb_create()
/linux/include/xen/interface/io/
H A Ddisplif.h621 uint32_t pixel_format; member
/linux/include/drm/
H A Ddrm_fourcc.h311 u32 pixel_format, u64 modifier);
/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c167 !drm_any_plane_has_format(dev, mode_cmd->pixel_format, in drm_gem_fb_init_with_funcs()
170 &mode_cmd->pixel_format, mode_cmd->modifier[0]); in drm_gem_fb_init_with_funcs()
/linux/include/drm/bridge/
H A Dmhl.h329 u8 pixel_format; member
/linux/drivers/media/usb/pwc/
H A Dpwc-v4l.c912 if (fsize->pixel_format == V4L2_PIX_FMT_YUV420 || in pwc_enum_framesizes()
913 (fsize->pixel_format == V4L2_PIX_FMT_PWC1 && in pwc_enum_framesizes()
915 (fsize->pixel_format == V4L2_PIX_FMT_PWC2 && in pwc_enum_framesizes()
947 if (size < 0 || fival->pixel_format != V4L2_PIX_FMT_YUV420) in pwc_enum_frameintervals()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c170 if ((fmt->pixel_format == DRM_FORMAT_NV12) && in _dpu_format_populate_plane_sizes_linear()
/linux/drivers/usb/gadget/function/
H A Duvc_v4l2.c388 uformat = find_format_by_pix(uvc, fival->pixel_format); in uvc_v4l2_enum_frameintervals()
426 uformat = find_format_by_pix(uvc, fsize->pixel_format); in uvc_v4l2_enum_framesizes()
/linux/drivers/media/platform/qcom/venus/
H A Dvenc.c447 fmt = find_format(inst, fsize->pixel_format, in venc_enum_framesizes()
450 fmt = find_format(inst, fsize->pixel_format, in venc_enum_framesizes()
478 fmt = find_format(inst, fival->pixel_format, in venc_enum_frameintervals()
481 fmt = find_format(inst, fival->pixel_format, in venc_enum_frameintervals()

123