On Fri, 12 May 2023 at 11:41, Thomas Zimmermann <[email protected]> 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. > > Add CONFIG_DRM_MSM_FBDEV_EMULATION to select the necessary > Kconfig options automatically. Make fbdev emulation depend on > the new config option. > > By using fbdev helpers directly within each DRM fbdev emulation, > we can eventually remove DRM's wrapper functions entirely. > > Signed-off-by: Thomas Zimmermann <[email protected]> > Cc: Rob Clark <[email protected]> > Cc: Abhinav Kumar <[email protected]> > Cc: Dmitry Baryshkov <[email protected]> > Cc: Sean Paul <[email protected]> > --- > drivers/gpu/drm/msm/Kconfig | 9 +++++++++ > drivers/gpu/drm/msm/Makefile | 2 +- > drivers/gpu/drm/msm/msm_drv.h | 2 +- > drivers/gpu/drm/msm/msm_fbdev.c | 12 +++++++----- > 4 files changed, 18 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
