Home
last modified time | relevance | path

Searched refs:surface_bpp (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dfbdev.c166 if (sizes->surface_bpp == 24) { in psb_fbdev_fb_probe()
167 sizes->surface_bpp = 32; in psb_fbdev_fb_probe()
170 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
183 sizes->surface_bpp = 16; in psb_fbdev_fb_probe()
186 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c102 sizes->surface_bpp); in exynos_drm_fbdev_create()
106 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create()
107 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c142 sizes->surface_bpp = 32; in omap_fbdev_create()
146 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create()
149 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create()
156 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); in omap_fbdev_create()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c80 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create()
83 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create()
86 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_fbdev.c221 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeon_fbdev_fb_helper_fb_probe()
222 sizes->surface_bpp = 32; in radeon_fbdev_fb_helper_fb_probe()
224 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeon_fbdev_fb_helper_fb_probe()
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_fbdev.c56 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create()
57 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dfbdev.c83 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe()
90 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c91 sizes->surface_bpp); in drm_fbdev_dma_helper_fb_probe()
93 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in drm_fbdev_dma_helper_fb_probe()
H A Ddrm_fbdev_generic.c85 sizes->surface_bpp); in drm_fbdev_generic_helper_fb_probe()
87 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in drm_fbdev_generic_helper_fb_probe()
H A Ddrm_fb_helper.c1581 sizes->surface_bpp = drm_format_info_bpp(info, 0); in __drm_fb_helper_find_sizes()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.c161 if (sizes->surface_bpp == 24) in intelfb_alloc()
162 sizes->surface_bpp = 32; in intelfb_alloc()
168 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc()
169 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc()
/openbmc/linux/include/drm/
H A Ddrm_fb_helper.h62 u32 surface_bpp; member