]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the direct mapping of pipe->crtc
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Sep 2010 14:44:14 +0000 (15:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Sep 2010 16:00:36 +0000 (17:00 +0100)
commit02257ec3e77ee469e70f171208c950c1d1601a89
tree6c90c65af1198bf1c9a2120e4480837b59a115be
parent7b9b7d24336a5634cc4720549766abf6b5165d46
drm/i915: Use the direct mapping of pipe->crtc

Why iterate all the crtcs to find the pipe, when we already know which
crtc is attached to which pipe?

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_lvds.c