drm/msm: block incoming update on pending updates
authorRob Clark <robdclark@gmail.com>
Tue, 25 Nov 2014 17:41:18 +0000 (12:41 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 18 Dec 2014 19:32:14 +0000 (14:32 -0500)
commitf86afecf0defbc8d046bc7a7c5fc19a8c9ba1364
tree1522a0b086298ed21cda7ea41cd74fa3e0b4ee2f
parent5acb07ea802c3a06bbe22cba32fbb8eb97b6b3ae
drm/msm: block incoming update on pending updates

We can't have multiple updates pending on a given CRTC, and we don't
want a sync update to race w/ an async update that preceeded it.  So
keep track of which CRTCs have updates in flight, and block later
updates that would conflict.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/msm_atomic.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h