Searched refs:surface_bpp (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 104 sizes->surface_bpp = 32; in omap_fbdev_create() 108 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 111 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create() 118 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); in omap_fbdev_create()
|
/Linux-v6.1/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 100 sizes->surface_bpp); in exynos_drm_fbdev_create() 104 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 105 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create()
|
/Linux-v6.1/drivers/gpu/drm/msm/ |
D | msm_fbdev.c | 68 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 71 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 74 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create()
|
/Linux-v6.1/drivers/gpu/drm/armada/ |
D | armada_fbdev.c | 41 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create() 42 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create()
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 231 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create() 232 sizes->surface_bpp = 32; in radeonfb_create() 234 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create()
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 147 if (sizes->surface_bpp == 24) in intelfb_alloc() 148 sizes->surface_bpp = 32; in intelfb_alloc() 154 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc() 155 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc()
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 251 bpp = sizes->surface_bpp; in psbfb_create() 358 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 370 sizes->surface_bpp = 16; in psbfb_probe()
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1599 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1607 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 1608 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 1619 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 1623 sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 1626 sizes.surface_depth = sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 1629 sizes.surface_depth = sizes.surface_bpp = 24; in drm_fb_helper_single_fb_probe() 1633 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1686 sizes.surface_bpp, best_depth); in drm_fb_helper_single_fb_probe() 2431 sizes->surface_bpp); in drm_fb_helper_generic_probe() [all …]
|
/Linux-v6.1/drivers/gpu/drm/tegra/ |
D | fb.c | 230 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 237 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
|
/Linux-v6.1/include/drm/ |
D | drm_fb_helper.h | 68 u32 surface_bpp; member
|
/Linux-v6.1/drivers/gpu/drm/nouveau/ |
D | nouveau_fbcon.c | 327 mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); in nouveau_fbcon_create() 330 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in nouveau_fbcon_create()
|