drm/i915: don't enable self-refresh on Ironlake
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 9 Sep 2010 18:58:02 +0000 (11:58 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Sep 2010 14:11:43 +0000 (15:11 +0100)
commitdd8849c8f59ec1cee4809a0c5e603e045abe860e
tree215699ef6d8e3e5d694d6b3873e203b2fd9d900c
parent7839d956fc6aecbb66d645b4050e8e88e2e821cd
drm/i915: don't enable self-refresh on Ironlake

We don't know how to enable it safely, especially as outputs turn on and
off.  When disabling LP1 we also need to make sure LP2 and 3 are already
disabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29173
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29082
Reported-by: Chris Lord <chris@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c