diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-05-30 17:12:26 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-06-01 12:41:40 +0200 |
commit | 4a2262c121130026306a36888f74f0736fc3fb1c (patch) | |
tree | 6ef6bf2362c808b9d81ed18f780d9ab9ee315729 /drivers/gpu/drm/drm_fb_helper.c | |
parent | c51b36207c04bad501ddd47a3d3fe0dbfd611474 (diff) | |
download | linux-4a2262c121130026306a36888f74f0736fc3fb1c.tar.gz linux-4a2262c121130026306a36888f74f0736fc3fb1c.tar.bz2 linux-4a2262c121130026306a36888f74f0736fc3fb1c.zip |
drm/msm: Use regular fbdev I/O helpers
Use the regular fbdev helpers for framebuffer I/O instead of DRM's
helpers. Msm 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.
Msm's fbdev emulation has been incomplete as it didn't implement
damage handling. Partilly fix this by implementing damage handling
for write and draw operation. It is still missing for mmaped pages.
v4:
* use initializer macros for struct fb_ops
* partially support damage handling
v2:
* use FB_SYS_HELPERS option
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20230530151228.22979-12-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions