On 5/30/2023 8:02 AM, Thomas Zimmermann wrote:
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 <tzimmerm...@suse.de>
Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>
Acked-by: Sam Ravnborg <s...@ravnborg.org>
Cc: Rob Clark <robdcl...@gmail.com>
Cc: Abhinav Kumar <quic_abhin...@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.barysh...@linaro.org>
Cc: Sean Paul <s...@poorly.run>
---

Reviewed-by: Abhinav Kumar <quic_abhin...@quicinc.com>

Reply via email to