aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-03-30 02:39:31 -0400
committerEric Anholt <eric@anholt.net>2010-04-09 17:17:31 -0400
commit335af9a235a82842854b394507ab5e310d88be42 (patch)
treee4d05c21023b46e98082558cbb03db4968274348 /drivers/gpu/drm/i915/intel_drv.h
parentc1c43977e6fc789cbde094303fa9ace629a35aca (diff)
drm/i915: change intel_ddc_get_modes() function parameters
This one replaces original param for intel_ddc_get_modes() with DRM connector and i2c bus adapter instead. With explicit params, we won't require that a single driver structure must hold connector and DDC bus reference, which ease the conversion to splitted encoder/ connector model. It also clears up for some cases that we would steal other DDC bus for mode probe, like VGA analog DDC probe for DVI-I. Also it fixed a bug in old DVI-I probe handling, that failed to restore origin analog GPIO port. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 4741713df74a..c15ec471c849 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -165,7 +165,7 @@ struct intel_crtc {
165struct i2c_adapter *intel_i2c_create(struct drm_device *dev, const u32 reg, 165struct i2c_adapter *intel_i2c_create(struct drm_device *dev, const u32 reg,
166 const char *name); 166 const char *name);
167void intel_i2c_destroy(struct i2c_adapter *adapter); 167void intel_i2c_destroy(struct i2c_adapter *adapter);
168int intel_ddc_get_modes(struct intel_encoder *intel_encoder); 168int intel_ddc_get_modes(struct drm_connector *c, struct i2c_adapter *adapter);
169extern bool intel_ddc_probe(struct intel_encoder *intel_encoder); 169extern bool intel_ddc_probe(struct intel_encoder *intel_encoder);
170void intel_i2c_quirk_set(struct drm_device *dev, bool enable); 170void intel_i2c_quirk_set(struct drm_device *dev, bool enable);
171void intel_i2c_reset_gmbus(struct drm_device *dev); 171void intel_i2c_reset_gmbus(struct drm_device *dev);