Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/firmware/efi/libstub/
Dgop.c40 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/
Ddcn10_dpp.c298 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/
Dmsm_fb.c111 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/
Dmtk_drm_fb.c38 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/
Drockchip_drm_fb.c86 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/
Dmdp_format.c75 .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/
Darmada_fb.c28 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/
Ddpu_formats.c44 .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/
Domap_fb.c301 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/
Dfb.c139 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/
Dshmob_drm_kms.c101 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/
Dbochs_mm.c504 (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/
Dfb_decoder.c42 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/
Ddrm_framebuffer.c120 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/
Dhdlcd_crtc.c85 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/
Dvlv_dsi_pll.c122 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()
Dicl_dsi.c35 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/
Dhibmc_ttm.c523 (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/
Darcpgu_crtc.c39 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/
Dxen_drm_front.h147 u32 height, u32 pixel_format);
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c652 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/
Dhw_shared.h124 enum pixel_format surface_pixel_format;
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_display.c242 (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/
Ddisplif.h624 uint32_t pixel_format; member
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c135 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()

12345