aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2009-11-13 14:56:35 -0500
committerDave Airlie <airlied@redhat.com>2009-11-23 22:02:12 -0500
commit0beb81ab45c67de4b3aa85faad604cff8ed133a8 (patch)
tree28745f9d5b9a8fd2224dc8d91a4a6861a2c75f76
parent23115b0592bde5da249fcbdad7714c1f96a8e5f5 (diff)
drm/radeon/kms: Disable TV load detect on RS400,RC410,RS480
RS400,RC410,RS480 chipset seems to report a lot of false positive with load detect on TV output. We haven't yet found a way to make load detect reliable on those chipset, thus just disable it for TV output. Would avoid user to experience phantom screen because X believe there is a monitor connected to the TV output. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_connectors.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c
index fce4c4087fda..55fecfc1f197 100644
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -1149,6 +1149,13 @@ radeon_add_legacy_connector(struct drm_device *dev,
1149 if (ret) 1149 if (ret)
1150 goto failed; 1150 goto failed;
1151 radeon_connector->dac_load_detect = true; 1151 radeon_connector->dac_load_detect = true;
1152 /* RS400,RC410,RS480 chipset seems to report a lot
1153 * of false positive on load detect, we haven't yet
1154 * found a way to make load detect reliable on those
1155 * chipset, thus just disable it for TV.
1156 */
1157 if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480)
1158 radeon_connector->dac_load_detect = false;
1152 drm_connector_attach_property(&radeon_connector->base, 1159 drm_connector_attach_property(&radeon_connector->base,
1153 rdev->mode_info.load_detect_property, 1160 rdev->mode_info.load_detect_property,
1154 1); 1161 1);