]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/gma500: fbdev: Use a DRM client buffer
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Feb 2026 13:21:57 +0000 (14:21 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Mar 2026 08:28:53 +0000 (09:28 +0100)
commit581a5bfe758353d95d9829146c0b673843e36e25
tree6a657b76dca3879ce07705e8330ad2d62d3687a6
parentaaea2359a6ba7442a4cacb66d915d66b618fe9b6
drm/gma500: fbdev: Use a DRM client buffer

Replace the internal DRM framebuffer with a DRM client buffer. The
client buffer allocates the DRM framebuffer on a file and also uses
GEM object handles via the regular ADDFB2 interfaces. This unifies
framebuffer allocation for clients in user space and gma500's internal
fbdev emulation.

Also simplify the clean-up side of the fbdev emulation.

Later patches will allow for streamlining gma500's framebuffer code and
DRM's fbdev emulation in general.

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