[PATCH v5 11/13] drm/msm: Use regular fbdev I/O helpers
Abhinav Kumar
quic_abhinavk at quicinc.com
Thu Jun 1 09:24:19 PDT 2023
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 <tzimmermann at suse.de>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Acked-by: Sam Ravnborg <sam at ravnborg.org>
> Cc: Rob Clark <robdclark at gmail.com>
> Cc: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Cc: Sean Paul <sean at poorly.run>
> ---
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
More information about the linux-arm-kernel
mailing list