drm/gma500: Use regular fbdev I/O helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 30 May 2023 15:12:20 +0000 (17:12 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 1 Jun 2023 10:26:49 +0000 (12:26 +0200)
commit7fca1dd909b3c1a0d7f2478fa939880d7b885491
treecc2d8db715371166ee28796e30b6c5fb7807e75b
parentac9dc1b1b98e2177bd638d5af123669014152f3f
drm/gma500: Use regular fbdev I/O helpers

Use the regular fbdev helpers for framebuffer I/O instead of DRM's
helpers. Gma500 does not use damage handling, so DRM's fbdev helpers
are mere wrappers around the fbdev code.

By using fbdev helpers directly within each DRM fbdev emulation,
we can eventually remove DRM's wrapper functions entirely.

v4:
* use initializer macros for struct fb_ops
v2:
* use FB_IO_HELPERS option

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230530151228.22979-6-tzimmermann@suse.de
drivers/gpu/drm/gma500/Kconfig
drivers/gpu/drm/gma500/fbdev.c