<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau black screen and errors with two monitors attached"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92274#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau black screen and errors with two monitors attached"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92274">bug 92274</a>
from <span class="vcard"><a class="email" href="mailto:joseph-thommes@gmx.de" title="joseph-thommes@gmx.de">joseph-thommes@gmx.de</a>
</span></b>
<pre>Ok I'm sorry to ask again, but I've got no idea what the methods nvkm_mask,
read, and wr32 are expecting, returning or doing, so I cannot
think by myself what to do...
(By the way in my sources they are just named nv_*.)
So where can I find documentation about it or where are they defined?
I'm familiar with (userspace) C, but not in these dimensions
and I don't know how to locate the definition of a function except for
looking in all included headers recursively...
Did I understand you correctly, that I should make the changes like this:
(again I've got no idea what these functions do, so it might be nonsense)
/* AVI InfoFrame */
u32 foo = nvkm_rd32(device, 0x690000 + hdmi);
nvkm_wr32(device, 0x690000 + hdmi, foo & ~1);
nvkm_wr32(device, 0x69000c + hdmi, 0x0000006f);
nvkm_wr32(device, 0x690010 + hdmi, 0x00000000);
nvkm_wr32(device, 0x690014 + hdmi, 0x00000000);
nvkm_wr32(device, 0x690018 + hdmi, 0x00000000);
nvkm_wr32(device, 0x690000 + hdmi, foo | 1);
/* ??? InfoFrame? */
u32 foo = nvkm_rd32(device, 0x6900c0 + hdmi);
nvkm_wr32(device, 0x6900c0 + hdmi, foo & ~1);
nvkm_wr32(device, 0x6900cc + hdmi, 0x00000010);
nvkm_wr32(device, 0x6900c0 + hdmi, foo | 1);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>