drm/i915/i2c: Track the parent encoder rather than just the dev
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 15:46:59 +0000 (16:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 20:08:36 +0000 (21:08 +0100)
commit890f3359f7b84d7015104360d647ccac5f515542
tree88c65ad9638fd84d3921fbe9a9fbecb42816c1ec
parent2cf34d7b7ee99c27c1a6bdd2f91344cbfa5fef5c
drm/i915/i2c: Track the parent encoder rather than just the dev

The SDVO proxy i2c adapter wants to be able to use information stored in
the encoder, so pass that through intel_i2c rather than iterate over all
known encoders every time.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_crt.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_i2c.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_sdvo.c