summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-03-30 14:39:29 +0800
committerEric Anholt <eric@anholt.net>2010-04-09 14:16:38 -0700
commitf1c79df3aa2eda4756ddfe976f2eb5aa6507a35a (patch)
treef35a68c04b3e99d5e15241e9f79d8083035a342a /drivers/gpu/drm/i915/intel_drv.h
parent5daa55eba7d7219616423c6955e90a8f196294a5 (diff)
downloadblackbird-op-linux-f1c79df3aa2eda4756ddfe976f2eb5aa6507a35a.tar.gz
blackbird-op-linux-f1c79df3aa2eda4756ddfe976f2eb5aa6507a35a.zip
drm/i915: Add new helper to return current attached encoder for connector
For introducing splitted encoder/connector structure, this helper will return connector's attached encoder when needed. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index d48c31220e02..5b2e3b219801 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -190,6 +190,7 @@ extern void intel_encoder_prepare (struct drm_encoder *encoder);
extern void intel_encoder_commit (struct drm_encoder *encoder);
extern struct drm_encoder *intel_best_encoder(struct drm_connector *connector);
+extern struct drm_encoder *intel_attached_encoder(struct drm_connector *connector);
extern struct drm_display_mode *intel_crtc_mode_get(struct drm_device *dev,
struct drm_crtc *crtc);
OpenPOWER on IntegriCloud