<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [r128] Changes needed for RandR support"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75629#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [r128] Changes needed for RandR support"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75629">bug 75629</a>
from <span class="vcard"><a class="email" href="mailto:agd5f@yahoo.com" title="Alex Deucher <agd5f@yahoo.com>"> <span class="fn">Alex Deucher</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=75629#c24">comment #24</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=75629#c23">comment #23</a>)
> > > Detecting the valid modes with EDID would be nice, but I think this solves
> > > the most important problem. The driver now knows whether a monitor is
> > > plugged in and hence whether to drive Crtc2. If you agree, I will send this
> > > patch to the list.
> >
> > Does it actually change when you have a monitor vs. not? If probing works,
> > you are probably pretty close to getting full i2c working.
>
> Yes. And you are right, i2c was almost working. I got it working by trying
> all 16 combinations for the bits in a loop. The valid pair was
> (R128_GPIO_MONID_*_3, R128_GPIO_MONID_*_1) instead of (R128_GPIO_MONID_*_3,
> R128_GPIO_MONID_*_0).</span >
Was it the same register (R128_GPIO_MONID) as well?
<span class="quote">>
> Should I just change the *_0 bits to *_1 or should I put that inside a
> powerpc check? I think the old code might've been for Apple Sense.</span >
I suspect the pin mapping is different for DVI vs. VGA. Take the
RADEONI2CBusRec from radeon and set the masks and registers differently for VGA
vs. DVI. Then you can use the appropriate registers/masks for each connector
when you want to probe the monitor.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>