drm/msm/mdp5: update irqs on crtc<->encoder link change
authorRob Clark <robdclark@gmail.com>
Tue, 2 Dec 2014 16:50:06 +0000 (11:50 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 18 Dec 2014 19:32:14 +0000 (14:32 -0500)
commit8bc1fe92e15742985fcbd543df6954dae5f6b33e
treea1db1999389a7f86327dec5fe04a8f49ba6e2593
parentf86afecf0defbc8d046bc7a7c5fc19a8c9ba1364
drm/msm/mdp5: update irqs on crtc<->encoder link change

If crtc <-> encoder linkage changes, we could end up with the CRTC
listening for the wrong error or vsync irqs.  Generally this problem
would correct itself relatively quickly, since we update the global
irqmask after dispatching irqs, but to be sure let the CRTC trigger
update_irq().

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.c
drivers/gpu/drm/msm/mdp/mdp_kms.c
drivers/gpu/drm/msm/mdp/mdp_kms.h