drm/i915: PLL macro cleanup and pipe assertion check
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 2 Sep 2011 19:52:11 +0000 (12:52 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 22:26:42 +0000 (15:26 -0700)
commit4c609cb890b13ef58e0c0cdd238993484e1b9b83
tree30c4be936612d43c439339e1375f0d70dd04a392
parentc4f9c4c2b3f1831e932e04db992cf6fe92c2a95a
drm/i915: PLL macro cleanup and pipe assertion check

Add a macro for accessing the two pipe PLLs and add a check to make sure
we don't access a non-existent one in the enable/disable functions.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c