drm/i915: Make the connector->encoder relationship explicit
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Sep 2010 15:20:55 +0000 (16:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Sep 2010 16:00:43 +0000 (17:00 +0100)
commitdf0e924883d029a8651a2a0c7b8da67a07611ed2
tree7482d6c4942c709f2c6812f397c3239326ade3b8
parentf875c15a4fbf37534dda30771d8bde8604fbbf09
drm/i915: Make the connector->encoder relationship explicit

Currently we have a exact mapping of a connector onto an encoder for its
whole lifetime. Make this an explicit property of the structure and so
simplify the code.

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