Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_framebuffer_test.c30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
40 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
45 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
50 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
55 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
60 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
65 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
70 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
75 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c53 uint32_t pixel_format = 0; in dpp201_cnv_setup() local
71 pixel_format = 1; in dpp201_cnv_setup()
74 pixel_format = 3; in dpp201_cnv_setup()
79 pixel_format = 8; in dpp201_cnv_setup()
83 pixel_format = 10; in dpp201_cnv_setup()
88 pixel_format = 65; in dpp201_cnv_setup()
94 pixel_format = 64; in dpp201_cnv_setup()
100 pixel_format = 67; in dpp201_cnv_setup()
106 pixel_format = 66; in dpp201_cnv_setup()
111 pixel_format = 22; in dpp201_cnv_setup()
[all …]
/linux-6.6.21/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()
170 pixel_format = 26; /* ARGB16161616_UNORM */ in dpp2_cnv_setup()
[all …]
Ddcn20_dsc.c401 …dsc_reg_vals->pixel_format = dsc_dc_pixel_encoding_to_dsc_pixel_format(dsc_cfg->pixel_encoding, ds… in dsc_prepare_config()
425 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config()
430 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config()
431 dsc_reg_vals->pps.native_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422); in dsc_prepare_config()
432 dsc_reg_vals->pps.native_420 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420); in dsc_prepare_config()
433 dsc_reg_vals->pps.simple_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422); in dsc_prepare_config()
449 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config()
450 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config()
451 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config()
594 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c282 uint32_t pixel_format; in dpp1_cnv_setup() local
295 pixel_format = 0; in dpp1_cnv_setup()
325 pixel_format = 1; in dpp1_cnv_setup()
328 pixel_format = 3; in dpp1_cnv_setup()
333 pixel_format = 8; in dpp1_cnv_setup()
337 pixel_format = 10; in dpp1_cnv_setup()
341 pixel_format = 65; in dpp1_cnv_setup()
347 pixel_format = 64; in dpp1_cnv_setup()
353 pixel_format = 67; in dpp1_cnv_setup()
359 pixel_format = 66; in dpp1_cnv_setup()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c37 .base.pixel_format = DRM_FORMAT_ ## fmt, \
56 .base.pixel_format = DRM_FORMAT_ ## fmt, \
76 .base.pixel_format = DRM_FORMAT_ ## fmt, \
94 .base.pixel_format = DRM_FORMAT_ ## fmt, \
113 .base.pixel_format = DRM_FORMAT_ ## fmt, \
131 .base.pixel_format = DRM_FORMAT_ ## fmt, \
150 .base.pixel_format = DRM_FORMAT_ ## fmt, \
170 .base.pixel_format = DRM_FORMAT_ ## fmt, \
612 if (fmt->base.pixel_format == DRM_FORMAT_NV12 || in _dpu_format_get_media_color_ubwc()
613 fmt->base.pixel_format == DRM_FORMAT_P010) { in _dpu_format_get_media_color_ubwc()
[all …]
Ddpu_plane.c240 (char *)&fmt->base.pixel_format, in _dpu_plane_calc_fill_level()
288 (fmt) ? fmt->base.pixel_format : 0, in _dpu_plane_set_qos_lut()
293 fmt ? (char *)&fmt->base.pixel_format : NULL, in _dpu_plane_set_qos_lut()
297 (fmt) ? fmt->base.pixel_format : 0, in _dpu_plane_set_qos_lut()
304 fmt ? (char *)&fmt->base.pixel_format : NULL, in _dpu_plane_set_qos_lut()
534 const struct drm_format_info *info = drm_format_info(fmt->base.pixel_format); in _dpu_plane_setup_scaler()
727 !dpu_find_format(fmt->base.pixel_format, supported_formats, num_formats)) in dpu_plane_check_inline_rotation()
1119 (char *)&fmt->base.pixel_format, DPU_FORMAT_IS_UBWC(fmt)); in dpu_plane_sspp_atomic_update()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c179 uint32_t pixel_format = 0; in dpp3_cnv_setup() local
207 pixel_format = 1; in dpp3_cnv_setup()
210 pixel_format = 3; in dpp3_cnv_setup()
215 pixel_format = 8; in dpp3_cnv_setup()
219 pixel_format = 10; in dpp3_cnv_setup()
224 pixel_format = 65; in dpp3_cnv_setup()
230 pixel_format = 64; in dpp3_cnv_setup()
236 pixel_format = 67; in dpp3_cnv_setup()
242 pixel_format = 66; in dpp3_cnv_setup()
248 pixel_format = 26; /* ARGB16161616_UNORM */ in dpp3_cnv_setup()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/
Dmdp_format.c66 .base = { .pixel_format = DRM_FORMAT_ ## name }, \
159 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats()
171 if (f->base.pixel_format == format) in mdp_get_format()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_fb.c181 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
184 format = kms->funcs->get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init()
188 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
249 .pixel_format = format, in msm_alloc_stolen_fb()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Di9xx_plane.c697 u32 pixel_format, u64 modifier, in hsw_primary_max_stride() argument
700 const struct drm_format_info *info = drm_format_info(pixel_format); in hsw_primary_max_stride()
709 u32 pixel_format, u64 modifier, in ilk_primary_max_stride() argument
712 const struct drm_format_info *info = drm_format_info(pixel_format); in ilk_primary_max_stride()
724 u32 pixel_format, u64 modifier, in i965_plane_max_stride() argument
727 const struct drm_format_info *info = drm_format_info(pixel_format); in i965_plane_max_stride()
739 u32 pixel_format, u64 modifier, in i9xx_plane_max_stride() argument
984 int fourcc, pixel_format; in i9xx_get_initial_plane_config() local
1020 pixel_format = val & DISP_FORMAT_MASK; in i9xx_get_initial_plane_config()
1021 fourcc = i9xx_format_to_fourcc(pixel_format); in i9xx_get_initial_plane_config()
Di9xx_plane.h19 u32 pixel_format, u64 modifier,
Dvlv_dsi_pll.c121 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_pclk()
182 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute()
343 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in bxt_dsi_pclk()
487 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in bxt_dsi_pll_compute()
/linux-6.6.21/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_kms.c102 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create()
105 &mode_cmd->pixel_format); in shmob_drm_fb_create()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dfb_decoder.c43 struct pixel_format { struct
49 static const struct pixel_format bdw_pixel_formats[] = { argument
62 static const struct pixel_format skl_pixel_formats[] = {
395 static const struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM] = {
/linux-6.6.21/drivers/gpu/drm/armada/
Darmada_fb.c27 switch (mode->pixel_format) { in armada_framebuffer_create()
95 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
/linux-6.6.21/drivers/gpu/drm/arm/
Dhdlcd_crtc.c86 uint32_t pixel_format; in hdlcd_set_pxl_fmt() local
90 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt()
93 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
/linux-6.6.21/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_drv.h18 u32 pixel_format; member
/linux-6.6.21/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()
181 &r->pixel_format); in framebuffer_check()
244 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
594 r->pixel_format = fb->format->format; in drm_mode_getfb2_ioctl()
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_display.c311 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new()
312 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new()
313 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new()
314 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new()
320 &mode_cmd->pixel_format, in nouveau_framebuffer_new()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c591 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scalex_steps() argument
594 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
614 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scaley_steps() argument
617 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
639 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in get_scale_config()
694 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in mdp5_write_pixel_ext()
889 pix_format = format->base.pixel_format; in mdp5_plane_mode_set()
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_fb.c378 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
383 if (formats[i] == mode_cmd->pixel_format) in omap_framebuffer_init()
389 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
/linux-6.6.21/drivers/gpu/drm/xen/
Dxen_drm_front.h143 u32 height, u32 pixel_format);
/linux-6.6.21/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()

1234567