diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-04-02 09:09:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-04-04 10:08:31 +1000 |
commit | beb47274116b36e17cf52869a2004e7d12a4ef1d (patch) | |
tree | a6fb5d67dc2f45c49590f91779ed281c523fd190 /drivers/gpu | |
parent | 61df611d5ed32ff785d1e4a0abc871b42a905c1e (diff) | |
download | blackbird-op-linux-beb47274116b36e17cf52869a2004e7d12a4ef1d.tar.gz blackbird-op-linux-beb47274116b36e17cf52869a2004e7d12a4ef1d.zip |
drm/radeon/kms: Add support for tv-out dongle on G5 9600
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index cf602e2d0718..8caf546c8e92 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -2079,6 +2079,19 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev) DRM_MODE_CONNECTOR_DVII, &ddc_i2c, CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I, &hpd); + /* TV - TV DAC */ + ddc_i2c.valid = false; + hpd.hpd = RADEON_HPD_NONE; + radeon_add_legacy_encoder(dev, + radeon_get_encoder_enum(dev, + ATOM_DEVICE_TV1_SUPPORT, + 2), + ATOM_DEVICE_TV1_SUPPORT); + radeon_add_legacy_connector(dev, 2, ATOM_DEVICE_TV1_SUPPORT, + DRM_MODE_CONNECTOR_SVIDEO, + &ddc_i2c, + CONNECTOR_OBJECT_ID_SVIDEO, + &hpd); break; default: DRM_INFO("Connector table: %d (invalid)\n", |