| /linux-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 36 .cmd = { .width = 600, .height = 600, .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, 144 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 201 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 206 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 212 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 297 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2, 343 .pixel_format = DRM_FORMAT_X0L2, .handles = { 1, 0, 0 }, [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
| H A D | dcn401_dpp.c | 90 pixel_format = 1; in dpp401_dpp_setup() 93 pixel_format = 3; in dpp401_dpp_setup() 98 pixel_format = 8; in dpp401_dpp_setup() 102 pixel_format = 10; in dpp401_dpp_setup() 106 pixel_format = 65; in dpp401_dpp_setup() 111 pixel_format = 64; in dpp401_dpp_setup() 116 pixel_format = 67; in dpp401_dpp_setup() 121 pixel_format = 66; in dpp401_dpp_setup() 130 pixel_format = 24; in dpp401_dpp_setup() 133 pixel_format = 25; in dpp401_dpp_setup() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
| H A D | dcn201_dpp.c | 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() 121 pixel_format = 24; in dpp201_cnv_setup() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
| H A D | dcn20_dpp.c | 131 pixel_format = 1; in dpp2_cnv_setup() 134 pixel_format = 3; in dpp2_cnv_setup() 139 pixel_format = 8; in dpp2_cnv_setup() 143 pixel_format = 10; in dpp2_cnv_setup() 148 pixel_format = 65; in dpp2_cnv_setup() 154 pixel_format = 64; in dpp2_cnv_setup() 160 pixel_format = 67; in dpp2_cnv_setup() 166 pixel_format = 66; in dpp2_cnv_setup() 175 pixel_format = 24; in dpp2_cnv_setup() 178 pixel_format = 25; in dpp2_cnv_setup() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
| H A D | dcn10_dpp.c | 298 pixel_format = 0; in dpp1_cnv_setup() 328 pixel_format = 1; in dpp1_cnv_setup() 331 pixel_format = 3; in dpp1_cnv_setup() 336 pixel_format = 8; in dpp1_cnv_setup() 340 pixel_format = 10; in dpp1_cnv_setup() 344 pixel_format = 65; in dpp1_cnv_setup() 350 pixel_format = 64; in dpp1_cnv_setup() 356 pixel_format = 67; in dpp1_cnv_setup() 362 pixel_format = 66; in dpp1_cnv_setup() 371 pixel_format = 24; in dpp1_cnv_setup() [all …]
|
| /linux-6.15/drivers/firmware/efi/libstub/ |
| H A D | gop.c | 161 pf = info->pixel_format; in choose_mode_modenum() 194 if (pixel_format == PIXEL_BIT_MASK) { in pixel_bpp() 207 int pf = info->pixel_format; in match_res() 239 int pf = info->pixel_format; in match_auto() 265 int pf = info->pixel_format; in match_list() 372 efi_pixel_bitmask_t pixel_info, int pixel_format) in setup_pixel_info() argument 374 if (pixel_format == PIXEL_BIT_MASK) { in setup_pixel_info() 387 if (pixel_format == PIXEL_RGB_RESERVED_8BIT_PER_COLOR) { in setup_pixel_info() 429 if (info->pixel_format == PIXEL_BLT_ONLY || in find_gop() 430 info->pixel_format >= PIXEL_FORMAT_MAX) in find_gop() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
| H A D | dcn20_dsc.c | 428 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config() 433 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config() 452 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config() 453 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config() 454 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config() 597 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers() 635 …if (reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || reg_vals->pixel_format == DSC_PIXFMT_N… in dsc_write_to_registers() 642 SIMPLE_422, reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422, in dsc_write_to_registers() 643 CONVERT_RGB, reg_vals->pixel_format == DSC_PIXFMT_RGB, in dsc_write_to_registers() 645 NATIVE_422, reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422, in dsc_write_to_registers() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
| H A D | dcn30_dpp.c | 240 pixel_format = 1; in dpp3_cnv_setup() 243 pixel_format = 3; in dpp3_cnv_setup() 248 pixel_format = 8; in dpp3_cnv_setup() 252 pixel_format = 10; in dpp3_cnv_setup() 257 pixel_format = 65; in dpp3_cnv_setup() 263 pixel_format = 64; in dpp3_cnv_setup() 269 pixel_format = 67; in dpp3_cnv_setup() 275 pixel_format = 66; in dpp3_cnv_setup() 284 pixel_format = 24; in dpp3_cnv_setup() 287 pixel_format = 25; in dpp3_cnv_setup() [all …]
|
| /linux-6.15/drivers/gpu/drm/msm/disp/ |
| H A D | mdp_format.c | 72 .pixel_format = DRM_FORMAT_ ## fmt, \ 92 .pixel_format = DRM_FORMAT_ ## fmt, \ 112 .pixel_format = DRM_FORMAT_ ## fmt, \ 131 .pixel_format = DRM_FORMAT_ ## fmt, \ 151 .pixel_format = DRM_FORMAT_ ## fmt, \ 170 .pixel_format = DRM_FORMAT_ ## fmt, \ 190 .pixel_format = DRM_FORMAT_ ## fmt, \ 210 .pixel_format = DRM_FORMAT_ ## fmt, \ 625 if (f->pixel_format == format) in mdp_get_format()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | i9xx_plane.h | 21 u32 pixel_format, u64 modifier, 37 u32 pixel_format, u64 modifier, in i965_plane_max_stride() argument
|
| H A D | i9xx_plane.c | 755 u32 pixel_format, u64 modifier, in hsw_primary_max_stride() argument 758 const struct drm_format_info *info = drm_format_info(pixel_format); in hsw_primary_max_stride() 767 u32 pixel_format, u64 modifier, in ilk_primary_max_stride() argument 770 const struct drm_format_info *info = drm_format_info(pixel_format); in ilk_primary_max_stride() 782 u32 pixel_format, u64 modifier, in i965_plane_max_stride() argument 785 const struct drm_format_info *info = drm_format_info(pixel_format); in i965_plane_max_stride() 797 u32 pixel_format, u64 modifier, in i915_plane_max_stride() argument 808 u32 pixel_format, u64 modifier, in i8xx_plane_max_stride() argument 1139 int fourcc, pixel_format; in i9xx_get_initial_plane_config() local 1175 pixel_format = val & DISP_FORMAT_MASK; in i9xx_get_initial_plane_config() [all …]
|
| H A D | vlv_dsi_pll.c | 121 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.15/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_formats.c | 73 if (fmt->pixel_format == DRM_FORMAT_NV12 || in _dpu_format_get_media_color_ubwc() 74 fmt->pixel_format == DRM_FORMAT_P010) { in _dpu_format_get_media_color_ubwc() 86 if (fmt->pixel_format == dpu_media_ubwc_map[i].format) { in _dpu_format_get_media_color_ubwc() 110 &fmt->pixel_format); in _dpu_format_populate_plane_sizes_ubwc() 201 if ((fmt->pixel_format == DRM_FORMAT_NV12) && in _dpu_format_populate_plane_sizes_linear()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dsc/dcn401/ |
| H A D | dcn401_dsc.c | 230 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers() 268 …if (reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || reg_vals->pixel_format == DSC_PIXFMT_N… in dsc_write_to_registers() 275 SIMPLE_422, reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422, in dsc_write_to_registers() 276 CONVERT_RGB, reg_vals->pixel_format == DSC_PIXFMT_RGB, in dsc_write_to_registers() 278 NATIVE_422, reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422, in dsc_write_to_registers() 279 NATIVE_420, reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420, in dsc_write_to_registers()
|
| /linux-6.15/drivers/gpu/drm/msm/ |
| H A D | msm_fb.c | 181 &mode_cmd->pixel_format); in msm_framebuffer_init() 184 format = mdp_get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init() 188 &mode_cmd->pixel_format); in msm_framebuffer_init() 249 .pixel_format = format, in msm_alloc_stolen_fb()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_spl_translate.c | 66 …plformat_from_format(enum spl_pixel_format *spl_pixel_format, const enum pixel_format pixel_format) in populate_splformat_from_format() argument 68 if (pixel_format < PIXEL_FORMAT_INVALID) in populate_splformat_from_format() 69 *spl_pixel_format = (enum spl_pixel_format)pixel_format; in populate_splformat_from_format()
|
| /linux-6.15/drivers/gpu/drm/armada/ |
| H A D | armada_fb.c | 27 switch (mode->pixel_format) { in armada_framebuffer_create() 95 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
|
| /linux-6.15/drivers/gpu/drm/i915/gvt/ |
| H A D | fb_decoder.c | 49 struct pixel_format { struct 55 static const struct pixel_format bdw_pixel_formats[] = { argument 68 static const struct pixel_format skl_pixel_formats[] = {
|
| /linux-6.15/drivers/gpu/drm/tiny/ |
| H A D | appletbdrm.c | 79 __le32 pixel_format; member 262 __le32 pixel_format; in appletbdrm_get_information() local 279 pixel_format = get_unaligned(&info->pixel_format); in appletbdrm_get_information() 290 if (pixel_format != APPLETBDRM_PIXEL_FORMAT) { in appletbdrm_get_information() 291 drm_err(drm, "Encountered unknown pixel format (%p4cc)\n", &pixel_format); in appletbdrm_get_information()
|
| /linux-6.15/drivers/gpu/drm/renesas/shmobile/ |
| H A D | shmob_drm_kms.c | 124 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 127 &mode_cmd->pixel_format); in shmob_drm_fb_create()
|
| /linux-6.15/drivers/gpu/drm/arm/ |
| H A D | hdlcd_crtc.c | 86 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.15/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_display.c | 272 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new() 273 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new() 274 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new() 275 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new() 281 &mode_cmd->pixel_format, in nouveau_framebuffer_new()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
| H A D | dml_top_display_cfg_types.h | 290 enum dml2_source_format_class pixel_format; member 311 enum dml2_source_format_class pixel_format; member
|
| /linux-6.15/drivers/gpu/drm/hisilicon/kirin/ |
| H A D | kirin_drm_drv.h | 18 u32 pixel_format; member
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_framebuffer.c | 127 r.pixel_format = drm_driver_legacy_fb_format(dev, or->bpp, or->depth); in drm_mode_addfb() 128 if (r.pixel_format == DRM_FORMAT_INVALID) { in drm_mode_addfb() 162 if (!__drm_format_info(r->pixel_format)) { in framebuffer_check() 164 &r->pixel_format); in framebuffer_check() 227 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check() 609 r->pixel_format = fb->format->format; in drm_mode_getfb2_ioctl()
|