Home
last modified time | relevance | path

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

12345

/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/gpu/drm/amd/display/dc/dpp/dcn20/
H A Ddcn20_dpp.c106 uint32_t pixel_format = 0; in dpp2_cnv_setup() local
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()
172 pixel_format = 26; /* ARGB16161616_UNORM */ in dpp2_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/dpp/dcn30/
H A Ddcn30_dpp.c229 uint32_t pixel_format = 0; in dpp3_cnv_setup() local
256 pixel_format = 1; in dpp3_cnv_setup()
259 pixel_format = 3; in dpp3_cnv_setup()
264 pixel_format = 8; in dpp3_cnv_setup()
268 pixel_format = 10; in dpp3_cnv_setup()
273 pixel_format = 65; in dpp3_cnv_setup()
279 pixel_format = 64; in dpp3_cnv_setup()
285 pixel_format = 67; in dpp3_cnv_setup()
291 pixel_format = 66; in dpp3_cnv_setup()
297 pixel_format = 26; /* ARGB16161616_UNORM */ in dpp3_cnv_setup()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c185 &mode_cmd->pixel_format); in msm_framebuffer_init()
188 format = mdp_get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init()
192 &mode_cmd->pixel_format); in msm_framebuffer_init()
253 .pixel_format = format, in msm_alloc_stolen_fb()
279 drm_get_format_info(dev, mode_cmd.pixel_format, in msm_alloc_stolen_fb()
/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/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c425 plane->pixel_format = dml2_444_32; in populate_dml21_dummy_plane_cfg()
510 plane->pixel_format = dml2_420_8; in populate_dml21_plane_config_from_plane_state()
514 plane->pixel_format = dml2_420_10; in populate_dml21_plane_config_from_plane_state()
520 plane->pixel_format = dml2_444_64; in populate_dml21_plane_config_from_plane_state()
524 plane->pixel_format = dml2_444_16; in populate_dml21_plane_config_from_plane_state()
527 plane->pixel_format = dml2_444_8; in populate_dml21_plane_config_from_plane_state()
530 plane->pixel_format = dml2_rgbe_alpha; in populate_dml21_plane_config_from_plane_state()
533 plane->pixel_format = dml2_444_32; in populate_dml21_plane_config_from_plane_state()
894 dml21_is_plane1_enabled(pln_prog->plane_descriptor->pixel_format); in dml21_get_pipe_mcache_config()
/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/gma500/
H A Dfbdev.c147 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in psb_fbdev_driver_fbdev_probe()
159 drm_get_format_info(dev, mode_cmd.pixel_format, in psb_fbdev_driver_fbdev_probe()
/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/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/hisilicon/kirin/
H A Dkirin_drm_drv.h18 u32 pixel_format; member
/linux/drivers/gpu/drm/radeon/
H A Dradeon_fbdev.c219 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeon_fbdev_driver_fbdev_probe()
222 format_info = drm_get_format_info(rdev_to_drm(rdev), mode_cmd.pixel_format, in radeon_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/msm/disp/dpu1/
H A Ddpu_trace.h653 uint32_t stage_idx, uint32_t pixel_format,
656 pixel_format, pipe, modifier),
668 __field( uint32_t, pixel_format )
682 __entry->pixel_format = pixel_format;
694 __entry->pixel_format, __entry->modifier)

12345