diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2010-03-30 14:39:28 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-04-09 14:16:37 -0700 |
commit | 5daa55eba7d7219616423c6955e90a8f196294a5 (patch) | |
tree | 10db4d01393cf13b1238bff98f821e0943ac73c1 /drivers/gpu/drm/i915/intel_drv.h | |
parent | c5e4df3382681c8ed214ee93bbe8f96044980485 (diff) | |
download | blackbird-op-linux-5daa55eba7d7219616423c6955e90a8f196294a5.tar.gz blackbird-op-linux-5daa55eba7d7219616423c6955e90a8f196294a5.zip |
drm/i915: Add new 'intel_connector' structure
This adds new structure of intel_connector to present drm's
connector object, which is used to convert from origin single
output into encoder/connector model.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index e30253755f12..d48c31220e02 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -110,6 +110,11 @@ struct intel_encoder { int clone_mask; }; +struct intel_connector { + struct drm_connector base; + void *dev_priv; +}; + struct intel_crtc; struct intel_overlay { struct drm_device *dev; @@ -153,6 +158,7 @@ struct intel_crtc { #define to_intel_crtc(x) container_of(x, struct intel_crtc, base) #define to_intel_encoder(x) container_of(x, struct intel_encoder, base) +#define to_intel_connector(x) container_of(x, struct intel_connector, base) #define enc_to_intel_encoder(x) container_of(x, struct intel_encoder, enc) #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base) |