[Bug 29387] [KMS] DVI-0 connected, but shown as HDMI-0; regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 3 11:47:47 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29387

--- Comment #4 from Alex Deucher <agd5f at yahoo.com> 2010-08-03 11:47:47 PDT ---
Perhaps the hpd pins are reversed on your system.  Does the following hack fix
it?

--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -173,10 +173,10 @@ static struct radeon_hpd
radeon_atom_get_hpd_info_from_gpio(struct radeon_device
        if (gpio->reg == reg) {
                switch(gpio->mask) {
                case (1 << 0):
-                       hpd.hpd = RADEON_HPD_1;
+                       hpd.hpd = RADEON_HPD_2;
                        break;
                case (1 << 8):
-                       hpd.hpd = RADEON_HPD_2;
+                       hpd.hpd = RADEON_HPD_1;
                        break;
                case (1 << 16):
                        hpd.hpd = RADEON_HPD_3;

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list