diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-02 16:33:00 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-01-06 20:49:47 -0500 |
commit | 7d57382e65994ab7d01741373bd1c420370aed9f (patch) | |
tree | b0c3c5f9657a360db60c45b4c4091b7c027a637f /drivers/gpu/drm/i915/intel_drv.h | |
parent | 3f8bc370ac679a5fe5c098f30d3cf8e80f62a9f8 (diff) |
drm/i915: Add support for integrated HDMI on G4X hardware.
This is ported directly from the userland 2D driver code. The HDMI audio bits
aren't hooked up yet.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 94981ee7b8bd..8a4cc50c5b4e 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define INTEL_OUTPUT_SDVO 3 | 53 | #define INTEL_OUTPUT_SDVO 3 |
54 | #define INTEL_OUTPUT_LVDS 4 | 54 | #define INTEL_OUTPUT_LVDS 4 |
55 | #define INTEL_OUTPUT_TVOUT 5 | 55 | #define INTEL_OUTPUT_TVOUT 5 |
56 | #define INTEL_OUTPUT_HDMI 6 | ||
56 | 57 | ||
57 | #define INTEL_DVO_CHIP_NONE 0 | 58 | #define INTEL_DVO_CHIP_NONE 0 |
58 | #define INTEL_DVO_CHIP_LVDS 1 | 59 | #define INTEL_DVO_CHIP_LVDS 1 |
@@ -109,7 +110,8 @@ int intel_ddc_get_modes(struct intel_output *intel_output); | |||
109 | extern bool intel_ddc_probe(struct intel_output *intel_output); | 110 | extern bool intel_ddc_probe(struct intel_output *intel_output); |
110 | 111 | ||
111 | extern void intel_crt_init(struct drm_device *dev); | 112 | extern void intel_crt_init(struct drm_device *dev); |
112 | extern void intel_sdvo_init(struct drm_device *dev, int output_device); | 113 | extern void intel_hdmi_init(struct drm_device *dev, int sdvox_reg); |
114 | extern bool intel_sdvo_init(struct drm_device *dev, int output_device); | ||
113 | extern void intel_dvo_init(struct drm_device *dev); | 115 | extern void intel_dvo_init(struct drm_device *dev); |
114 | extern void intel_tv_init(struct drm_device *dev); | 116 | extern void intel_tv_init(struct drm_device *dev); |
115 | extern void intel_lvds_init(struct drm_device *dev); | 117 | extern void intel_lvds_init(struct drm_device *dev); |