]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8927aab241c9cf935cd6c7c5a03bf876c552158d
tree493358b6e98657b959248cc4f5e13d232b13c60d
parent4d82fb0e414d63ced94ee2b418f4d21a4baa1831
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