aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-21 17:23:52 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-22 10:56:56 -0500
commite953fd7bb32f55309a96abd5ceba9cf68d221434 (patch)
tree67110619366878f6412405ab63b7525f1c627544 /drivers/gpu/drm/i915/intel_drv.h
parentce453d81cb0397aa7d5148984f51907e14072d74 (diff)
drm/i915: Add support for limited color range of broadcast outputs
In order to prevent "crushed blacks" on TVs, the range of the RGB output may be limited to 16-235. This used to be available through Xorg under the "Broadcast RGB" option, so reintroduce support for KMS. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34543 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 08cd27d2c132..5daa991cb287 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -237,6 +237,8 @@ struct intel_unpin_work {
237int intel_ddc_get_modes(struct drm_connector *c, struct i2c_adapter *adapter); 237int intel_ddc_get_modes(struct drm_connector *c, struct i2c_adapter *adapter);
238extern bool intel_ddc_probe(struct intel_encoder *intel_encoder, int ddc_bus); 238extern bool intel_ddc_probe(struct intel_encoder *intel_encoder, int ddc_bus);
239 239
240extern void intel_attach_broadcast_rgb_property(struct drm_connector *connector);
241
240extern void intel_crt_init(struct drm_device *dev); 242extern void intel_crt_init(struct drm_device *dev);
241extern void intel_hdmi_init(struct drm_device *dev, int sdvox_reg); 243extern void intel_hdmi_init(struct drm_device *dev, int sdvox_reg);
242void intel_dip_infoframe_csum(struct dip_infoframe *avi_if); 244void intel_dip_infoframe_csum(struct dip_infoframe *avi_if);