drm/radeon/kms: Disable TV load detect on RS400,RC410,RS480
authorJerome Glisse <jglisse@redhat.com>
Fri, 13 Nov 2009 19:56:35 +0000 (20:56 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 03:02:12 +0000 (13:02 +1000)
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>
drivers/gpu/drm/radeon/radeon_connectors.c

index fce4c4087fda1cce504228b5a218c0a9cfd714da..55fecfc1f197026432f7b0868ec69d49f6ea331a 100644 (file)
@@ -1149,6 +1149,13 @@ radeon_add_legacy_connector(struct drm_device *dev,
                        if (ret)
                                goto failed;
                        radeon_connector->dac_load_detect = true;
+                       /* RS400,RC410,RS480 chipset seems to report a lot
+                        * of false positive on load detect, we haven't yet
+                        * found a way to make load detect reliable on those
+                        * chipset, thus just disable it for TV.
+                        */
+                       if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480)
+                               radeon_connector->dac_load_detect = false;
                        drm_connector_attach_property(&radeon_connector->base,
                                                      rdev->mode_info.load_detect_property,
                                                      1);