drm/i915/vlv: Make intel_crt_reset() per-encoder
authorLyude <cpaul@redhat.com>
Tue, 21 Jun 2016 21:03:41 +0000 (17:03 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Jul 2016 07:16:51 +0000 (09:16 +0200)
commit4570d833390b10043d082fe535375d4a0e071d9c
treee6d001dca975158b51878601a1144ba62d00b59c
parentb224c4dc70cdd5f42d24a7057148c6ace90e4f4e
drm/i915/vlv: Make intel_crt_reset() per-encoder

This lets call intel_crt_reset() in contexts where IRQs are disabled and
as such, can't hold the locks required to work with the connectors.

Cc: stable@vger.kernel.org
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Lyude <cpaul@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
(cherry picked from commit 28cf71ce3e206db1c3f30b3da31e7b48b2269e4c)
drivers/gpu/drm/i915/intel_crt.c