Home
last modified time | relevance | path

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

1234

/drivers/gpu/drm/msm/
Dmsm_fb.c44 int i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_destroy()
76 int i, n = drm_format_num_planes(fb->pixel_format); in msm_framebuffer_describe()
79 fb->width, fb->height, (char *)&fb->pixel_format, in msm_framebuffer_describe()
107 int ret, i, n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_create()
145 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
147 n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_init()
148 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init()
149 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init()
151 format = kms->funcs->get_format(kms, mode_cmd->pixel_format); in msm_framebuffer_init()
154 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_fb.c33 uint32_t pixel_format; member
72 pixel_formats[nformats++] = formats[i].pixel_format; in omap_framebuffer_get_formats()
105 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_destroy()
262 int ret, i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_pin()
288 int ret, i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_unpin()
307 if (p >= drm_format_num_planes(fb->pixel_format)) in omap_framebuffer_bo()
371 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_describe()
374 (char *)&fb->pixel_format); in omap_framebuffer_describe()
392 ret = objects_lookup(dev, file, mode_cmd->pixel_format, in omap_framebuffer_create()
399 int i, n = drm_format_num_planes(mode_cmd->pixel_format); in omap_framebuffer_create()
[all …]
Domap_drv.h278 struct drm_file *filp, uint32_t pixel_format, in objects_lookup() argument
281 int i, n = drm_format_num_planes(pixel_format); in objects_lookup()
/drivers/gpu/drm/i915/
Dintel_dsi_pll.c56 int pixel_format, int video_mode_format, in dsi_rr_formula() argument
68 switch (pixel_format) { in dsi_rr_formula()
137 static u32 dsi_clk_from_pclk(u32 pclk, int pixel_format, int lane_count) in dsi_clk_from_pclk() argument
142 switch (pixel_format) { in dsi_clk_from_pclk()
235 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_configure_dsi_pll()
299 static void assert_bpp_mismatch(int pixel_format, int pipe_bpp) in assert_bpp_mismatch() argument
303 switch (pixel_format) { in assert_bpp_mismatch()
373 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in vlv_get_dsi_pclk()
Dintel_dsi_panel_vbt.c288 intel_dsi->pixel_format = mipi_config->videomode_color_format << 7; in generic_init()
290 if (intel_dsi->pixel_format == VID_MODE_FORMAT_RGB666) in generic_init()
292 else if (intel_dsi->pixel_format == VID_MODE_FORMAT_RGB565) in generic_init()
502 DRM_DEBUG_KMS("Pixel Format %d\n", intel_dsi->pixel_format); in generic_init()
Dintel_sprite.c157 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in vlv_update_plane()
169 switch (fb->pixel_format) { in vlv_update_plane()
366 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in ivb_update_plane()
379 switch (fb->pixel_format) { in ivb_update_plane()
586 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in ilk_update_plane()
599 switch (fb->pixel_format) { in ilk_update_plane()
866 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in intel_update_plane()
991 if (format_is_yuv(fb->pixel_format)) { in intel_update_plane()
Dintel_dsi.h94 u32 pixel_format; member
/drivers/gpu/drm/msm/mdp/
Dmdp_format.c23 .base = { .pixel_format = DRM_FORMAT_ ## name }, \
56 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats()
67 if (f->base.pixel_format == format) in mdp_get_format()
/drivers/gpu/drm/
Ddrm_fb_cma_helper.c120 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create()
121 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create()
123 for (i = 0; i < drm_format_num_planes(mode_cmd->pixel_format); i++) { in drm_fb_cma_create()
136 + width * drm_format_plane_cpp(mode_cmd->pixel_format, i) in drm_fb_cma_create()
191 int i, n = drm_format_num_planes(fb->pixel_format); in drm_fb_cma_describe()
194 (char *)&fb->pixel_format); in drm_fb_cma_describe()
270 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in drm_fbdev_cma_create()
Ddrm_crtc_helper.c532 } else if (set->fb->pixel_format != in drm_crtc_helper_set_config()
533 set->crtc->primary->fb->pixel_format) { in drm_crtc_helper_set_config()
818 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &fb->depth, in drm_helper_mode_fill_fb_struct()
820 fb->pixel_format = mode_cmd->pixel_format; in drm_helper_mode_fill_fb_struct()
/drivers/gpu/drm/tegra/
Dfb.c33 if (index >= drm_format_num_planes(framebuffer->pixel_format)) in tegra_fb_get_plane()
138 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create()
139 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create()
141 for (i = 0; i < drm_format_num_planes(cmd->pixel_format); i++) { in tegra_fb_create()
152 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_fb_create()
214 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
/drivers/gpu/drm/armada/
Darmada_fb.c44 switch (mode->pixel_format) { in armada_framebuffer_create()
111 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
116 if (drm_format_num_planes(mode->pixel_format) > 1 && in armada_fb_create()
/drivers/gpu/ipu-v3/
Dipu-cpmem.c380 void ipu_cpmem_set_yuv_interleaved(struct ipuv3_channel *ch, u32 pixel_format) in ipu_cpmem_set_yuv_interleaved() argument
382 switch (pixel_format) { in ipu_cpmem_set_yuv_interleaved()
398 u32 pixel_format, int stride, in ipu_cpmem_set_yuv_planar_full() argument
401 switch (pixel_format) { in ipu_cpmem_set_yuv_planar_full()
424 u32 pixel_format, int stride, int height) in ipu_cpmem_set_yuv_planar() argument
429 switch (pixel_format) { in ipu_cpmem_set_yuv_planar()
435 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, in ipu_cpmem_set_yuv_planar()
442 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, in ipu_cpmem_set_yuv_planar()
448 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, in ipu_cpmem_set_yuv_planar()
/drivers/gpu/drm/bochs/
Dbochs_mm.c521 (mode_cmd->pixel_format) & 0xff, in bochs_user_framebuffer_create()
522 (mode_cmd->pixel_format >> 8) & 0xff, in bochs_user_framebuffer_create()
523 (mode_cmd->pixel_format >> 16) & 0xff, in bochs_user_framebuffer_create()
524 (mode_cmd->pixel_format >> 24) & 0xff); in bochs_user_framebuffer_create()
526 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888) in bochs_user_framebuffer_create()
/drivers/gpu/drm/shmobile/
Dshmob_drm_kms.c111 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create()
114 mode_cmd->pixel_format); in shmob_drm_fb_create()
Dshmob_drm_plane.c186 format = shmob_drm_format_info(fb->pixel_format); in shmob_drm_plane_update()
189 fb->pixel_format); in shmob_drm_plane_update()
/drivers/staging/imx-drm/
Dipuv3-plane.c155 ipu_drm_fourcc_to_colorspace(fb->pixel_format), in ipu_plane_mode_set()
177 ret = ipu_cpmem_set_fmt(ipu_plane->ipu_ch, fb->pixel_format); in ipu_plane_mode_set()
180 fb->pixel_format); in ipu_plane_mode_set()
/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c147 if (fb->pixel_format != DRM_FORMAT_UYVY) in nv10_update_plane()
149 if (fb->pixel_format == DRM_FORMAT_NV12) in nv10_update_plane()
156 if (fb->pixel_format == DRM_FORMAT_NV12) { in nv10_update_plane()
413 if (fb->pixel_format == DRM_FORMAT_YUYV) in nv04_update_plane()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c125 uint32_t nplanes = drm_format_num_planes(fb->pixel_format); in mdp5_plane_set_scanout()
230 nplanes = drm_format_num_planes(fb->pixel_format); in mdp5_plane_mode_set()
249 nblks = request_smp_blocks(plane, fb->pixel_format, nplanes, src_w); in mdp5_plane_mode_set()
/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c180 if (mode_cmd->pixel_format != DRM_FORMAT_NV12) in exynos_drm_format_num_buffers()
181 return drm_format_num_planes(mode_cmd->pixel_format); in exynos_drm_format_num_buffers()
Dexynos_drm_plane.c124 overlay->pixel_format = fb->pixel_format; in exynos_plane_mode_set()
Dexynos_drm_fimd.c140 unsigned int pixel_format; member
500 win_data->pixel_format = overlay->pixel_format; in fimd_win_mode_set()
526 if (win_data->pixel_format == DRM_FORMAT_ARGB8888) in fimd_win_set_pixfmt()
527 win_data->pixel_format = DRM_FORMAT_XRGB8888; in fimd_win_set_pixfmt()
530 switch (win_data->pixel_format) { in fimd_win_set_pixfmt()
/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c147 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in cirrusfb_create_object()
179 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in cirrusfb_create()
/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c144 format = rcar_du_format_info(mode_cmd->pixel_format); in rcar_du_fb_create()
147 mode_cmd->pixel_format); in rcar_du_fb_create()
/drivers/media/pci/cx25821/
Dcx25821-video-upstream.c606 int pixel_format) in cx25821_vidupstream_init() argument
635 out->_pixel_format = pixel_format; in cx25821_vidupstream_init()
646 out->_pixel_format = pixel_format; in cx25821_vidupstream_init()

1234