drm/i915: Fix PCH PLL assertions to not assume CRTC:PLL relationship
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 May 2012 17:10:50 +0000 (18:10 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 May 2012 15:54:00 +0000 (17:54 +0200)
commit92b27b088c51bd9a979e39e184c41b1f57352dca
treeda354a6cf9d4dd54f4149bb0d786533425c03507
parent7b9e0ae6da0a7eaf2680a1a788f08df123724f3b
drm/i915: Fix PCH PLL assertions to not assume CRTC:PLL relationship

The existing assertions were written under the assumption that we wanted
to test the related PLL to a CRTC. With the split of PLL into a
separately managed entity which may be shared amongst CRTCs, we need to
pass in both the CRTC and the PLL to the assertion routine.
Occassionally, this means passing NULL for the CRTC as we wish to check
the status of the PLL irrespective of the current CRTC.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c