drm/i915: passing drm connector param for load detection
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 30 Mar 2010 06:39:30 +0000 (14:39 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 9 Apr 2010 21:16:38 +0000 (14:16 -0700)
commitc1c43977e6fc789cbde094303fa9ace629a35aca
treee557ffa799acfea2d01d1cfd0bf74d35b3c5868c
parentf1c79df3aa2eda4756ddfe976f2eb5aa6507a35a
drm/i915: passing drm connector param for load detection

In load detection, connector's encoder assignment must be kept
consistent for proper mode setting, and this makes connector as
explicit parameter for load detect function to not require single
data structure to hold both encoder and connector reference, ease
the transition for splitted encoder/connector model.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_tv.c