drm/msm/mdp5: atomic
authorRob Clark <robdclark@gmail.com>
Wed, 19 Nov 2014 17:31:03 +0000 (12:31 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 13:59:18 +0000 (08:59 -0500)
commited8519636ef6c4b6ffbc4a449ebf39502e80ee74
tree04dc21e8efbbc82c12b0305e34ae16a753163f8f
parent3e2f29e4137c78a3bd7e1b85cf287ff375f6367e
drm/msm/mdp5: atomic

Convert mdp5 over to atomic helpers.  Extend/wrap drm_plane_state to
track plane zpos and to keep track of the needed when applying the
atomic update.  In mdp5's plane->atomic_check() we also need to check
for updates which require SMP reallocation, in order to trigger full
modeset.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/msm_kms.h