drm/i915: improve assert_panel_unlocked
authorJani Nikula <jani.nikula@intel.com>
Fri, 22 Aug 2014 12:04:13 +0000 (15:04 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:28 +0000 (11:04 +0200)
commitbedd4dba75dc583fd3c458f6af2d53c60912a3cb
treebc22d40038299e844caf140ab209bbb6938f162b
parentac66cf4b9af4322748fa46af79e9952bd58c6213
drm/i915: improve assert_panel_unlocked

Fix assert_panel_unlocked for vlv/chv, and improve it a bit for
non-LVDS. Also don't pretend it works for DDI. There's still work to do
to get this right for eDP on PCH platforms, but this is a start.

v2: WARN_ON(HAS_DDI)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c