]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/gma500: fbdev: Set framebuffer size to GEM object size
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Feb 2026 13:21:55 +0000 (14:21 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Mar 2026 08:28:47 +0000 (09:28 +0100)
commitbbc1d2105481d47d2441ba061529c490ccb7f27f
treea97771a112d0c8e537a40d9187bc957fe9f7496b
parente0afbfe321d5131c56005f56fbf5d548340da749
drm/gma500: fbdev: Set framebuffer size to GEM object size

Framebuffer emulation sets the size of the available memory to the
value that has been requested. As the allocated GEM buffer object
acts as full framebuffer memory, set the size to the value of the
actually allocated buffer.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patch.msgid.link/20260206133458.226467-3-tzimmermann@suse.de
drivers/gpu/drm/gma500/fbdev.c