Home
last modified time | relevance | path

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

1234

/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/dcn401/
H A Ddcn401_dpp.c64 uint32_t pixel_format = 0; in dpp401_dpp_setup() local
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()
127 pixel_format = 26; /* ARGB16161616_UNORM */ in dpp401_dpp_setup()
[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/amd/display/dc/dsc/dcn20/
H A Ddcn20_dsc.c405 …dsc_reg_vals->pixel_format = dsc_dc_pixel_encoding_to_dsc_pixel_format(dsc_cfg->pixel_encoding, ds… in dsc_prepare_config()
430 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config()
435 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config()
436 dsc_reg_vals->pps.native_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422); in dsc_prepare_config()
437 dsc_reg_vals->pps.native_420 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420); in dsc_prepare_config()
438 dsc_reg_vals->pps.simple_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422); in dsc_prepare_config()
454 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config()
455 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config()
456 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config()
599 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn401/
H A Ddcn401_dsc.c218 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers()
256 …if (reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || reg_vals->pixel_format == DSC_PIXFMT_N… in dsc_write_to_registers()
263 SIMPLE_422, reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422, in dsc_write_to_registers()
264 CONVERT_RGB, reg_vals->pixel_format == DSC_PIXFMT_RGB, in dsc_write_to_registers()
266 NATIVE_422, reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422, in dsc_write_to_registers()
267 NATIVE_420, reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420, in dsc_write_to_registers()
/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/exynos/
H A Dexynos_drm_fbdev.c101 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_driver_fbdev_probe()
112 drm_get_format_info(dev, mode_cmd.pixel_format, in exynos_drm_fbdev_driver_fbdev_probe()
/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()
/linux/drivers/gpu/drm/tegra/
H A Dfbdev.c91 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_driver_fbdev_probe()
101 drm_get_format_info(drm, cmd.pixel_format, cmd.modifier[0]), in tegra_fbdev_driver_fbdev_probe()
/linux/drivers/gpu/drm/
H A Ddrm_framebuffer.c127 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()
217 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
292 if (!__drm_format_info(r->pixel_format)) { in drm_internal_framebuffer_create()
294 &r->pixel_format); in drm_internal_framebuffer_create()
299 info = drm_get_format_info(dev, r->pixel_format, r->modifier[0]); in drm_internal_framebuffer_create()
610 r->pixel_format = fb->format->format; in drm_mode_getfb2_ioctl()
/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/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c435 plane->pixel_format = dml2_444_32; in populate_dml21_dummy_plane_cfg()
522 plane->pixel_format = dml2_420_8; in populate_dml21_plane_config_from_plane_state()
526 plane->pixel_format = dml2_420_10; in populate_dml21_plane_config_from_plane_state()
532 plane->pixel_format = dml2_444_64; in populate_dml21_plane_config_from_plane_state()
536 plane->pixel_format = dml2_444_16; in populate_dml21_plane_config_from_plane_state()
539 plane->pixel_format = dml2_444_8; in populate_dml21_plane_config_from_plane_state()
542 plane->pixel_format = dml2_rgbe_alpha; in populate_dml21_plane_config_from_plane_state()
545 plane->pixel_format = dml2_444_32; in populate_dml21_plane_config_from_plane_state()
929 dml21_is_plane1_enabled(pln_prog->plane_descriptor->pixel_format); in dml21_get_pipe_mcache_config()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c571 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scalex_steps() argument
574 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
594 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scaley_steps() argument
597 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
619 const struct drm_format_info *info = drm_format_info(format->pixel_format); in get_scale_config()
674 const struct drm_format_info *info = drm_format_info(format->pixel_format); in mdp5_write_pixel_ext()
870 pix_format = format->pixel_format; in mdp5_plane_mode_set()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/
H A Ddml_top_display_cfg_types.h308 enum dml2_source_format_class pixel_format; member
329 enum dml2_source_format_class pixel_format; member
/linux/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.h18 u32 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()
H A Domap_fbdev.c172 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_driver_fbdev_probe()
200 drm_get_format_info(dev, mode_cmd.pixel_format, in omap_fbdev_driver_fbdev_probe()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.h61 const struct drm_format_info *amdgpu_dm_plane_get_format_info(u32 pixel_format, u64 modifier);
/linux/drivers/gpu/drm/msm/disp/
H A Dmdp_format.h56 uint32_t pixel_format; member
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front.h143 u32 height, u32 pixel_format);
/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

1234