Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_framebuffer.c29 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
34 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
39 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
44 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
49 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
54 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
59 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
64 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
69 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
74 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c104 uint32_t pixel_format = 0; in dpp2_cnv_setup() local
129 pixel_format = 1; in dpp2_cnv_setup()
132 pixel_format = 3; in dpp2_cnv_setup()
137 pixel_format = 8; in dpp2_cnv_setup()
141 pixel_format = 10; in dpp2_cnv_setup()
146 pixel_format = 65; in dpp2_cnv_setup()
152 pixel_format = 64; in dpp2_cnv_setup()
158 pixel_format = 67; in dpp2_cnv_setup()
164 pixel_format = 66; in dpp2_cnv_setup()
169 pixel_format = 22; in dpp2_cnv_setup()
[all …]
Ddcn20_dsc.c367 …dsc_reg_vals->pixel_format = dsc_dc_pixel_encoding_to_dsc_pixel_format(dsc_cfg->pixel_encoding, ds… in dsc_prepare_config()
391 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config()
396 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config()
397 dsc_reg_vals->pps.native_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422); in dsc_prepare_config()
398 dsc_reg_vals->pps.native_420 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420); in dsc_prepare_config()
399 dsc_reg_vals->pps.simple_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422); in dsc_prepare_config()
410 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config()
411 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config()
412 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config()
555 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c289 uint32_t pixel_format; in dpp1_cnv_setup() local
302 pixel_format = 0; in dpp1_cnv_setup()
332 pixel_format = 1; in dpp1_cnv_setup()
335 pixel_format = 3; in dpp1_cnv_setup()
340 pixel_format = 8; in dpp1_cnv_setup()
344 pixel_format = 10; in dpp1_cnv_setup()
348 pixel_format = 65; in dpp1_cnv_setup()
354 pixel_format = 64; in dpp1_cnv_setup()
360 pixel_format = 67; in dpp1_cnv_setup()
366 pixel_format = 66; in dpp1_cnv_setup()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dgop.c164 pf = info->pixel_format; in choose_mode_modenum()
176 static u8 pixel_bpp(int pixel_format, efi_pixel_bitmask_t pixel_info) in pixel_bpp() argument
178 if (pixel_format == PIXEL_BIT_MASK) { in pixel_bpp()
205 pf = info->pixel_format; in choose_mode_res()
226 pf = info->pixel_format; in choose_mode_res()
268 pf = info->pixel_format; in choose_mode_auto()
286 pf = info->pixel_format; in choose_mode_auto()
340 pf = info->pixel_format; in choose_mode_list()
431 efi_pixel_bitmask_t pixel_info, int pixel_format) in setup_pixel_info() argument
433 if (pixel_format == PIXEL_BIT_MASK) { in setup_pixel_info()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c180 uint32_t pixel_format = 0; in dpp3_cnv_setup() local
208 pixel_format = 1; in dpp3_cnv_setup()
211 pixel_format = 3; in dpp3_cnv_setup()
216 pixel_format = 8; in dpp3_cnv_setup()
220 pixel_format = 10; in dpp3_cnv_setup()
225 pixel_format = 65; in dpp3_cnv_setup()
231 pixel_format = 64; in dpp3_cnv_setup()
237 pixel_format = 67; in dpp3_cnv_setup()
243 pixel_format = 66; in dpp3_cnv_setup()
248 pixel_format = 22; in dpp3_cnv_setup()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c36 .base.pixel_format = DRM_FORMAT_ ## fmt, \
55 .base.pixel_format = DRM_FORMAT_ ## fmt, \
75 .base.pixel_format = DRM_FORMAT_ ## fmt, \
93 .base.pixel_format = DRM_FORMAT_ ## fmt, \
112 .base.pixel_format = DRM_FORMAT_ ## fmt, \
130 .base.pixel_format = DRM_FORMAT_ ## fmt, \
149 .base.pixel_format = DRM_FORMAT_ ## fmt, \
169 .base.pixel_format = DRM_FORMAT_ ## fmt, \
579 if (fmt->base.pixel_format == DRM_FORMAT_NV12) { in _dpu_format_get_media_color_ubwc()
591 if (fmt->base.pixel_format == dpu_media_ubwc_map[i].format) { in _dpu_format_get_media_color_ubwc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/
Dmdp_format.c64 .base = { .pixel_format = DRM_FORMAT_ ## name }, \
157 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats()
169 if (f->base.pixel_format == format) in mdp_get_format()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_fb.c144 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
147 format = kms->funcs->get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init()
151 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
210 .pixel_format = format, in msm_alloc_stolen_fb()
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
Dshmob_drm_kms.c97 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create()
100 mode_cmd->pixel_format); in shmob_drm_fb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dfb_decoder.c42 struct pixel_format { struct
48 static struct pixel_format bdw_pixel_formats[] = { argument
61 static struct pixel_format skl_pixel_formats[] = {
394 static struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM] = {
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_fb.c28 switch (mode->pixel_format) { in armada_framebuffer_create()
96 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/bochs/
Dbochs_kms.c125 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888 && in bochs_gem_fb_create()
126 mode_cmd->pixel_format != DRM_FORMAT_BGRX8888) in bochs_gem_fb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dhdlcd_crtc.c87 uint32_t pixel_format; in hdlcd_set_pxl_fmt() local
91 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt()
94 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dvlv_dsi_pll.c124 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute()
262 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_get_pclk()
329 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in bxt_dsi_get_pclk()
466 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in bxt_dsi_pll_compute()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_drv.h18 u32 pixel_format; member
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_framebuffer.c126 r.pixel_format = drm_driver_legacy_fb_format(dev, or->bpp, or->depth); in drm_mode_addfb()
127 if (r.pixel_format == DRM_FORMAT_INVALID) { in drm_mode_addfb()
179 if (!__drm_format_info(r->pixel_format)) { in framebuffer_check()
183 drm_get_format_name(r->pixel_format, in framebuffer_check()
247 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
594 r->pixel_format = fb->format->format; in drm_mode_getfb2_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_fb.c345 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
350 if (formats[i] == mode_cmd->pixel_format) in omap_framebuffer_init()
356 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/arc/
Darcpgu_crtc.c32 uint32_t pixel_format = fb->format->format; in arc_pgu_set_pxl_fmt() local
38 if (arc_pgu_supported_formats[i] == pixel_format) in arc_pgu_set_pxl_fmt()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_display.c317 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new()
318 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new()
319 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new()
320 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new()
327 drm_get_format_name(mode_cmd->pixel_format, in nouveau_framebuffer_new()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c661 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scalex_steps() argument
664 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
684 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scaley_steps() argument
687 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
709 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in get_scale_config()
764 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in mdp5_write_pixel_ext()
959 pix_format = format->base.pixel_format; in mdp5_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front.h152 u32 height, u32 pixel_format);
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c171 mode_cmd->pixel_format, in komeda_fb_create()
175 mode_cmd->pixel_format); in komeda_fb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_display.c301 if (mode_cmd->pixel_format != DRM_FORMAT_HOST_XRGB8888 && in virtio_gpu_user_framebuffer_create()
302 mode_cmd->pixel_format != DRM_FORMAT_HOST_ARGB8888) in virtio_gpu_user_framebuffer_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dcirrus.c500 if (mode_cmd->pixel_format != DRM_FORMAT_RGB565 && in cirrus_fb_create()
501 mode_cmd->pixel_format != DRM_FORMAT_RGB888 && in cirrus_fb_create()
502 mode_cmd->pixel_format != DRM_FORMAT_XRGB8888) in cirrus_fb_create()

123456