drm/i915: Don't lock panel registers when downclocking
authorSean Paul <seanpaul@chromium.org>
Mon, 13 Feb 2012 18:14:51 +0000 (13:14 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Feb 2012 19:04:02 +0000 (20:04 +0100)
commit8ac5a6d5b56700c006baa94272b63f2d3fdf6b06
tree17518bd72fc3c5e73289f717ed79c57d6ddf3bac
parentd3ae08109d628d26615d7f7f4d8d53cdd8d71fd0
drm/i915: Don't lock panel registers when downclocking

This patch replaces the locking from the downclock routines with an assert
to ensure the registers are indeed unlocked. Without this patch, pre-SNB
devices would lock the registers when downclocking which would cause a
WARNING on suspend/resume with downclocking enabled.

Note: To hit this bug, you need to have lvds downclocking enabled.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c