summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-09-19 13:59:29 -0700
committerKeith Packard <keithp@keithp.com>2011-09-30 16:23:45 -0700
commit1c0ae80a5e2893a3a3ed9582e46249ff559d2739 (patch)
tree1221c4b0bce5feb59b7ff7ac3b4e4a48ed671beb /drivers/gpu/drm/i915/i915_reg.h
parent9b984daec45632c4c1ef6e628dca4d2bc8f544ed (diff)
drm/i915: Unlock PCH_PP_CONTROL always
Avoid any question about locked registers by just writing the unlock pattern with every write to the register. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index b7fbb74b182..5596e8e0ead 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3311,6 +3311,7 @@
#define PCH_PP_STATUS 0xc7200
#define PCH_PP_CONTROL 0xc7204
#define PANEL_UNLOCK_REGS (0xabcd << 16)
+#define PANEL_UNLOCK_MASK (0xffff << 16)
#define EDP_FORCE_VDD (1 << 3)
#define EDP_BLC_ENABLE (1 << 2)
#define PANEL_POWER_RESET (1 << 1)