drm/msm: add dirty framebuffer helper
authorBrian Masney <masneyb@onstation.org>
Fri, 31 May 2019 09:46:14 +0000 (05:46 -0400)
committerRob Clark <robdclark@chromium.org>
Tue, 25 Jun 2019 12:29:59 +0000 (05:29 -0700)
commit648fdc3f6475d96de287a849a31d89e79ba7669c
tree493358b6e98657b959248cc4f5e13d232b13c60d
parentf47bee2ba447bebc304111c16ef1e1a73a9744dd
drm/msm: add dirty framebuffer helper

Use drm_atomic_helper_dirtyfb() as the dirty callback in the
msm_framebuffer_funcs struct. Call drm_plane_enable_fb_damage_clips()
when the planes are initialized in mdp4, mdp5, and dpu1.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/msm_fb.c