/Linux-v5.4/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 103 sizes->surface_bpp = 32; in omap_fbdev_create() 107 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 110 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create() 117 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); in omap_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_fbdev.c | 73 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 76 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 79 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_fbdev.c | 70 sizes->surface_bpp); in hibmc_drm_fb_create() 72 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in hibmc_drm_fb_create() 77 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in hibmc_drm_fb_create()
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 126 sizes->surface_bpp); in exynos_drm_fbdev_create() 130 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 131 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/vboxvideo/ |
D | vbox_fb.c | 61 pitch = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); in vboxfb_create() 62 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in vboxfb_create()
|
/Linux-v5.4/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-v5.4/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fbdev.c | 53 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in rockchip_drm_fbdev_create() 58 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in rockchip_drm_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 214 if (sizes->surface_bpp == 24) in amdgpufb_create() 215 sizes->surface_bpp = 32; in amdgpufb_create() 217 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in amdgpufb_create()
|
/Linux-v5.4/drivers/gpu/drm/udl/ |
D | udl_fb.c | 363 if (sizes->surface_bpp == 24) in udlfb_create() 364 sizes->surface_bpp = 32; in udlfb_create() 368 mode_cmd.pitches[0] = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); in udlfb_create() 370 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in udlfb_create()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 229 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create() 230 sizes->surface_bpp = 32; in radeonfb_create() 232 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 127 if (sizes->surface_bpp == 24) in intelfb_alloc() 128 sizes->surface_bpp = 32; in intelfb_alloc() 134 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc() 135 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc()
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1498 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1506 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 1507 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 1518 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 1522 sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 1525 sizes.surface_depth = sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 1528 sizes.surface_depth = sizes.surface_bpp = 24; in drm_fb_helper_single_fb_probe() 1532 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1585 sizes.surface_bpp, best_depth); in drm_fb_helper_single_fb_probe() 2206 sizes->surface_bpp); in drm_fb_helper_generic_probe() [all …]
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 321 bpp = sizes->surface_bpp; in psbfb_create() 467 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 476 sizes->surface_bpp = 16; in psbfb_probe()
|
/Linux-v5.4/drivers/gpu/drm/tegra/ |
D | fb.c | 219 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 226 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_fbcon.c | 324 mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); in nouveau_fbcon_create() 327 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in nouveau_fbcon_create()
|
/Linux-v5.4/include/drm/ |
D | drm_fb_helper.h | 68 u32 surface_bpp; member
|