summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-04-21 10:29:07 +0300
committerThierry Reding <treding@nvidia.com>2026-05-28 18:19:29 +0300
commit8e94aa3637a25e5b9eff09161d3cc28c1759f850 (patch)
treef7c63505f9bea894dde7afbdae3ea3a2e9bfd93f /include/linux/debugobjects.h
parenta18b6e30ecd69096beda4a0c96d2570900c3879a (diff)
downloadlinux-8e94aa3637a25e5b9eff09161d3cc28c1759f850.tar.xz
drm/tegra: fbdev: Calculate buffer geometry with format helpers
Replace the geometry and size calculation in tegra's fbdev emulation with DRM format helpers. This consists of a 4CC lookup from the fbdev parameters, format lookup, pitch calculation and size calculation. Then allocate the GEM buffer object for the framebuffer memory from the calculated size. Set up mode_cmd with the calculated values just before allocating the framebuffer. This code will later be replaced with a DRM client buffer. Set framebuffer size fields in struct fb_info from the size stored in the GEM buffer object instead of what has been requested. The requested size is an estimate, while the buffer size is the exact value rounded to the correct alignment. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260421073646.144712-4-tzimmermann@suse.de
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions