drm/i915: Move common PCH_PP_CONTROL setup to ironlake_get_pp_control
authorKeith Packard <keithp@keithp.com>
Wed, 2 Nov 2011 02:34:06 +0000 (19:34 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Nov 2011 04:26:25 +0000 (20:26 -0800)
Every usage of PCH_PP_CONTROL sets the PANEL_UNLOCK_REGS value to
ensure that writes will be respected, move this to a common function
to make the driver cleaner.

No functional changes.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found