Searched refs:surface_bpp (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | fbdev.c | 166 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 D | exynos_drm_fbdev.c | 102 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 D | omap_fbdev.c | 142 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 D | msm_fbdev.c | 80 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 D | radeon_fbdev.c | 221 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 D | armada_fbdev.c | 56 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 D | fbdev.c | 83 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 D | drm_fbdev_dma.c | 91 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 D | drm_fbdev_generic.c | 85 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 D | drm_fb_helper.c | 1581 sizes->surface_bpp = drm_format_info_bpp(info, 0); in __drm_fb_helper_find_sizes()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fbdev.c | 161 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 D | drm_fb_helper.h | 62 u32 surface_bpp; member
|