aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2013-02-25 12:06:49 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-26 16:50:22 -0400
commit1d843f9de4e6dc6a899b6f07f106c00da09925e6 (patch)
tree29c979eae847b62f3406547253c370bdee86348a /drivers/gpu/drm/i915/intel_drv.h
parentfa00abe00e379a0e9b070616baee58692576f29e (diff)
DRM/I915: Add enum hpd_pin to intel_encoder.
To clean up hotplug support we add a new enum to intel_encoder: enum hpd_pin. It allows the encoder to request a hpd line but leave the details which IRQ is responsible on which chipset generation to i915_irq.c. This way requesting hotplug support will become really simple on the encoder/connector level. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 276f6651dcc3..54bc2ea61fa9 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -168,6 +168,7 @@ struct intel_encoder {
168 * it is connected to in the pipe parameter. */ 168 * it is connected to in the pipe parameter. */
169 bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe); 169 bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe);
170 int crtc_mask; 170 int crtc_mask;
171 enum hpd_pin hpd_pin;
171}; 172};
172 173
173struct intel_panel { 174struct intel_panel {