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)
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>

No differences found