]> 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)
commite6855e1a969334acb0bb4ac1e35439b63d480743
tree493358b6e98657b959248cc4f5e13d232b13c60d
parent80b509aeb5eaf91ac8a6dc8d44243e7839dacc68
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