drm/i915: Unlock PCH_PP_CONTROL always
authorKeith Packard <keithp@keithp.com>
Mon, 19 Sep 2011 20:59:29 +0000 (13:59 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 30 Sep 2011 23:23:45 +0000 (16:23 -0700)
commit1c0ae80a5e2893a3a3ed9582e46249ff559d2739
tree1221c4b0bce5feb59b7ff7ac3b4e4a48ed671beb
parent9b984daec45632c4c1ef6e628dca4d2bc8f544ed
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>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c