]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b4b028b79181d45c74476a383871f7b0f2a5778
tree30c4be936612d43c439339e1375f0d70dd04a392
parent7534fbe22185e7b2048b500c21d0a04f767d228e
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