]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c9b5d49908d885945d727451a07795423ff2931
treeda354a6cf9d4dd54f4149bb0d786533425c03507
parente807388d48403985d332fb3a096266040ef11e37
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