| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 36 .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 D | dcn401_dpp.c | 64 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 D | dcn201_dpp.c | 53 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 D | dcn20_dpp.c | 106 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 D | gop.c | 162 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 D | dcn30_dpp.c | 229 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 D | msm_fb.c | 185 &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 D | armada_fbdev.c | 58 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 D | armada_fb.c | 30 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 D | exynos_drm_fbdev.c | 101 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 D | appletbdrm.c | 79 __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 D | fbdev.c | 91 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 D | dml21_translation_helper.c | 425 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 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() 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 D | shmob_drm_kms.c | 125 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 D | nouveau_display.c | 273 (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 D | fbdev.c | 147 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 D | mdp5_plane.c | 571 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 D | omap_fb.c | 379 (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 D | omap_fbdev.c | 172 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 D | kirin_drm_drv.h | 18 u32 pixel_format; member
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_fbdev.c | 219 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 D | amdgpu_dm_plane.h | 61 const struct drm_format_info *amdgpu_dm_plane_get_format_info(u32 pixel_format, u64 modifier);
|
| /linux/drivers/gpu/drm/msm/disp/ |
| H A D | mdp_format.h | 56 uint32_t pixel_format; member
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_trace.h | 653 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)
|