drm/msm/mdp4: fix mixer setup for multi-crtc + planes
authorRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 16:18:01 +0000 (11:18 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 20:32:37 +0000 (15:32 -0500)
commit4dd14fe6fb8119d1d8c87127ebc74c63deb2ffc8
tree4940f4f16fe5b56b6eb4effca02071887e46afed
parentd6ac4a84e7a3713929ec473cb8c10acc1dec41a2
drm/msm/mdp4: fix mixer setup for multi-crtc + planes

On mdp4 there is a single global LAYERMIXER_IN_CFG register.  The
previous logic to share that between multiple crtcs didn't actually
handle plane-disable very well.  Easier just to look at all of the
crtcs each time.

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