[Bug 75629] [r128] Changes needed for RandR support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 15 20:17:44 PDT 2014


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

--- Comment #11 from Alex Deucher <agd5f at yahoo.com> ---
The radeon vbios has a table where the driver can look up the pad registers and
bits used for ddc on specific connectors.  R128 does not.  I think it used a
hardcoded configuration for each connector.  R128 seems to have two gpio pads
that are used for displays which are controlled by these registers:

#define R128_GPIO_MONID                   0x0068
#       define R128_GPIO_MONID_A_0        (1 <<  0)
#       define R128_GPIO_MONID_A_1        (1 <<  1)
#       define R128_GPIO_MONID_A_2        (1 <<  2)
#       define R128_GPIO_MONID_A_3        (1 <<  3)
#       define R128_GPIO_MONID_Y_0        (1 <<  8)
#       define R128_GPIO_MONID_Y_1        (1 <<  9)
#       define R128_GPIO_MONID_Y_2        (1 << 10)
#       define R128_GPIO_MONID_Y_3        (1 << 11)
#       define R128_GPIO_MONID_EN_0       (1 << 16)
#       define R128_GPIO_MONID_EN_1       (1 << 17)
#       define R128_GPIO_MONID_EN_2       (1 << 18)
#       define R128_GPIO_MONID_EN_3       (1 << 19)
#       define R128_GPIO_MONID_MASK_0     (1 << 24)
#       define R128_GPIO_MONID_MASK_1     (1 << 25)
#       define R128_GPIO_MONID_MASK_2     (1 << 26)
#       define R128_GPIO_MONID_MASK_3     (1 << 27)
#define R128_GPIO_MONIDB                  0x006c

The current r128 code sets up R128_GPIO_MONID as the register used.  See
R128I2cInit().  The question is whether VGA uses R128_GPIO_MONID or
R128_GPIO_MONIDB and whether it uses the same bits for read and write.  Since
most R128 boards only had one connector, it's likely they all used the same ddc
configuration.  Have you tried the current r128 i2c setup for vga rather than
dvi?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140516/50ded8d5/attachment.html>


More information about the xorg-driver-ati mailing list