drm/msm: Move implicit sync handling to prepare_fb
authorSean Paul <seanpaul@chromium.org>
Tue, 3 Apr 2018 14:42:23 +0000 (10:42 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 4 Jun 2018 16:50:17 +0000 (12:50 -0400)
commitdb8f4d5d32334b061d0d9c53ec86480377daeaf0
treea830f36823cce77d35916b2dc367b283c26ba5e3
parent347b90b406ff6b6f3c9f666a527eb46e0fcd7aaf
drm/msm: Move implicit sync handling to prepare_fb

In preparation for moving to atomic helpers, move the implicit sync
fence handling out of atomic commit and into the plane->prepare_fb()
hook. While we're at it, de-duplicate the mdp*_prepare_fb functions.

Changes in v4:
- Added

Reported-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/msm_atomic.c
drivers/gpu/drm/msm/msm_drv.h