drm/i915: resume MST after reading back hw state
authorDave Airlie <airlied@redhat.com>
Mon, 8 Dec 2014 03:23:37 +0000 (13:23 +1000)
committerJani Nikula <jani.nikula@intel.com>
Mon, 8 Dec 2014 12:07:52 +0000 (14:07 +0200)
commite7d6f7d708290da1b7c92f533444b042c79412e0
tree03e44e749fc320d849774c352e676b0e4fe404a2
parent9cca30688043eb1b6569f794041dfeec218dffa5
drm/i915: resume MST after reading back hw state

Otherwise the MST resume paths can hit DPMS paths
which hit state checker paths, which hit WARN_ON,
because the state checker is inconsistent with the
hw.

This fixes a bunch of WARN_ON's on resume after
undocking.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.c