[PATCH] drm/radeon/kms/legacy: only enable load detection
Alex Deucher
alexdeucher at gmail.com
Fri Apr 30 09:37:31 PDT 2010
property on DVI-I
DVI-D doesn't have analog. This matches the avivo behavior.
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
---
drivers/gpu/drm/radeon/radeon_connectors.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c
b/drivers/gpu/drm/radeon/radeon_connectors.c
index c489346..40a24c9 100644
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -1294,6 +1294,8 @@ radeon_add_legacy_connector(struct drm_device *dev,
radeon_connector->ddc_bus = radeon_i2c_create(dev, i2c_bus, "DVI");
if (!radeon_connector->ddc_bus)
goto failed;
+ }
+ if (connector_type == DRM_MODE_CONNECTOR_DVII) {
radeon_connector->dac_load_detect = true;
drm_connector_attach_property(&radeon_connector->base,
rdev->mode_info.load_detect_property,
--
1.5.6.3
--0015174412c21d93ab048576f286
Content-Type: application/mbox;
name="0001-drm-radeon-kms-legacy-only-enable-load-detection-pr.patch"
Content-Disposition: attachment;
filename="0001-drm-radeon-kms-legacy-only-enable-load-detection-pr.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g8n8g9ei0
RnJvbSBmZTZmOGNhMjFmOTA0ODgzYmU4YzMzZDBmN2UxMWRmMmM3MTY1ODA5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IERldWNoZXIgPGFsZXhkZXVjaGVyQGdtYWlsLmNvbT4K
RGF0ZTogRnJpLCAzMCBBcHIgMjAxMCAxMjozNzozMSAtMDQwMApTdWJqZWN0OiBbUEFUQ0hdIGRy
bS9yYWRlb24va21zL2xlZ2FjeTogb25seSBlbmFibGUgbG9hZCBkZXRlY3Rpb24gcHJvcGVydHkg
b24gRFZJLUkKCkRWSS1EIGRvZXNuJ3QgaGF2ZSBhbmF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