drm/i915: add PANEL_UNLOCK_REGS definition
commit4a501bb2eff2b2a60bfaf41c42fa08614ff445f3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 22 Jul 2010 20:18:18 +0000 (22 13:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:25 +0000 (2 10:30 -0700)
treed8fbdb6861e3b6aff538bb446c09d9ad8cf86875
parent14393bddb10f109790dbeaa747679738445ebf09
drm/i915: add PANEL_UNLOCK_REGS definition

commit 4a655f043160eeae447efd3be297b6b4c397a640 upstream.

In some cases, unlocking the panel regs is safe and can help us avoid a
flickery, full mode set sequence.  So define the unlock key and use it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c