/Linux-v4.19/drivers/firmware/efi/libstub/ |
D | gop.c | 40 struct efi_pixel_bitmask pixel_info, int pixel_format) in setup_pixel_info() argument 42 if (pixel_format == PIXEL_RGB_RESERVED_8BIT_PER_COLOR) { in setup_pixel_info() 53 } else if (pixel_format == PIXEL_BGR_RESERVED_8BIT_PER_COLOR) { in setup_pixel_info() 64 } else if (pixel_format == PIXEL_BIT_MASK) { in setup_pixel_info() 123 int pixel_format; in setup_gop32() local 153 info->pixel_format != PIXEL_BLT_ONLY) { in setup_gop32() 163 pixel_format = info->pixel_format; in setup_gop32() 197 setup_pixel_info(si, pixels_per_scan_line, pixel_info, pixel_format); in setup_gop32() 241 int pixel_format; in setup_gop64() local 271 info->pixel_format != PIXEL_BLT_ONLY) { in setup_gop64() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp.c | 298 uint32_t pixel_format; in dpp1_cnv_setup() local 311 pixel_format = 0; in dpp1_cnv_setup() 341 pixel_format = 1; in dpp1_cnv_setup() 344 pixel_format = 3; in dpp1_cnv_setup() 349 pixel_format = 8; in dpp1_cnv_setup() 353 pixel_format = 10; in dpp1_cnv_setup() 357 pixel_format = 65; in dpp1_cnv_setup() 363 pixel_format = 64; in dpp1_cnv_setup() 369 pixel_format = 67; in dpp1_cnv_setup() 375 pixel_format = 66; in dpp1_cnv_setup() [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_fb.c | 111 int ret, i, n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_create() 148 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 150 n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_init() 151 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 152 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 154 format = kms->funcs->get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init() 158 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 184 + width * drm_format_plane_cpp(mode_cmd->pixel_format, i) in msm_framebuffer_init() 217 .pixel_format = format, in msm_alloc_stolen_fb()
|
/Linux-v4.19/drivers/gpu/drm/mediatek/ |
D | mtk_drm_fb.c | 38 if (drm_format_num_planes(mode->pixel_format) != 1) in mtk_drm_framebuffer_init() 98 if (drm_format_num_planes(cmd->pixel_format) != 1) in mtk_drm_mode_fb_create() 105 bpp = drm_format_plane_cpp(cmd->pixel_format, 0); in mtk_drm_mode_fb_create()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 86 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 87 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 88 num_planes = min(drm_format_num_planes(mode_cmd->pixel_format), in rockchip_user_fb_create() 106 width * drm_format_plane_cpp(mode_cmd->pixel_format, i); in rockchip_user_fb_create()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/ |
D | mdp_format.c | 75 .base = { .pixel_format = DRM_FORMAT_ ## name }, \ 168 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats() 180 if (f->base.pixel_format == format) in mdp_get_format()
|
/Linux-v4.19/drivers/gpu/drm/armada/ |
D | armada_fb.c | 28 switch (mode->pixel_format) { in armada_framebuffer_create() 95 mode->width, mode->height, mode->pixel_format, in armada_fb_create() 100 if (drm_format_num_planes(mode->pixel_format) > 1 && in armada_fb_create()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 44 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 63 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 83 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 101 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 120 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 138 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 157 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 177 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 679 if (fmt->base.pixel_format == DRM_FORMAT_NV12) { in _dpu_format_get_media_color_ubwc() 691 if (fmt->base.pixel_format == dpu_media_ubwc_map[i].format) { in _dpu_format_get_media_color_ubwc() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 301 unsigned int num_planes = drm_format_num_planes(mode_cmd->pixel_format); in omap_framebuffer_create() 338 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init() 340 format = drm_format_info(mode_cmd->pixel_format); in omap_framebuffer_init() 343 if (formats[i] == mode_cmd->pixel_format) in omap_framebuffer_init() 349 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | fb.c | 139 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 140 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 142 for (i = 0; i < drm_format_num_planes(cmd->pixel_format); i++) { in tegra_fb_create() 153 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_fb_create() 228 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
|
/Linux-v4.19/drivers/gpu/drm/shmobile/ |
D | shmob_drm_kms.c | 101 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 104 mode_cmd->pixel_format); in shmob_drm_fb_create()
|
/Linux-v4.19/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 504 (mode_cmd->pixel_format) & 0xff, in bochs_user_framebuffer_create() 505 (mode_cmd->pixel_format >> 8) & 0xff, in bochs_user_framebuffer_create() 506 (mode_cmd->pixel_format >> 16) & 0xff, in bochs_user_framebuffer_create() 507 (mode_cmd->pixel_format >> 24) & 0xff); in bochs_user_framebuffer_create() 509 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888) in bochs_user_framebuffer_create()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | fb_decoder.c | 42 struct pixel_format { struct 48 static struct pixel_format bdw_pixel_formats[] = { argument 61 static struct pixel_format skl_pixel_formats[] = { 400 static struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM] = {
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_framebuffer.c | 120 r.pixel_format = drm_mode_legacy_fb_format(or->bpp, or->depth); in drm_mode_addfb() 123 if (r.pixel_format == DRM_FORMAT_XRGB2101010 && in drm_mode_addfb() 125 r.pixel_format = DRM_FORMAT_XBGR2101010; in drm_mode_addfb() 167 info = __drm_format_info(r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN); in framebuffer_check() 172 drm_get_format_name(r->pixel_format, in framebuffer_check() 230 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
|
/Linux-v4.19/drivers/gpu/drm/arm/ |
D | hdlcd_crtc.c | 85 uint32_t pixel_format; in hdlcd_set_pxl_fmt() local 89 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt() 92 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | vlv_dsi_pll.c | 122 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute() 323 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in vlv_dsi_get_pclk() 352 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in bxt_dsi_get_pclk() 482 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in bxt_dsi_pll_compute()
|
D | icl_dsi.c | 35 u32 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in gen11_dsi_program_esc_clk_div()
|
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_ttm.c | 523 (mode_cmd->pixel_format) & 0xff, in hibmc_user_framebuffer_create() 524 (mode_cmd->pixel_format >> 8) & 0xff, in hibmc_user_framebuffer_create() 525 (mode_cmd->pixel_format >> 16) & 0xff, in hibmc_user_framebuffer_create() 526 (mode_cmd->pixel_format >> 24) & 0xff); in hibmc_user_framebuffer_create()
|
/Linux-v4.19/drivers/gpu/drm/arc/ |
D | arcpgu_crtc.c | 39 uint32_t pixel_format = fb->format->format; in arc_pgu_set_pxl_fmt() local 44 if (supported_formats[i].fourcc == pixel_format) in arc_pgu_set_pxl_fmt()
|
/Linux-v4.19/drivers/gpu/drm/xen/ |
D | xen_drm_front.h | 147 u32 height, u32 pixel_format);
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 652 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scalex_steps() argument 667 hsub = drm_format_horz_chroma_subsampling(pixel_format); in calc_scalex_steps() 677 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scaley_steps() argument 692 vsub = drm_format_vert_chroma_subsampling(pixel_format); in calc_scaley_steps() 705 uint32_t sub, pix_fmt = format->base.pixel_format; in get_scale_config() 759 uint32_t pix_fmt = format->base.pixel_format; in mdp5_write_pixel_ext() 954 pix_format = format->base.pixel_format; in mdp5_plane_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | hw_shared.h | 124 enum pixel_format surface_pixel_format;
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 242 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new() 243 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new() 244 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new() 245 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new() 252 drm_get_format_name(mode_cmd->pixel_format, in nouveau_framebuffer_new()
|
/Linux-v4.19/include/xen/interface/io/ |
D | displif.h | 624 uint32_t pixel_format; member
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 135 cpp = drm_format_plane_cpp(mode_cmd->pixel_format, 0); in amdgpufb_create_pinned_object() 217 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in amdgpufb_create()
|