<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau fails to run with NV5 [Riva TNT2 / TNT2 Pro]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91025#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau fails to run with NV5 [Riva TNT2 / TNT2 Pro]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91025">bug 91025</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>Hm fun, a non-M64 TNT2. I looked at the vbios dump you attached, and it indeed
has the unknown opcodes. I tried flipping some bits to get it to parse, but
it'd take a lot of manipulation to fix it.
Would you mind extracting the vbios using envytools's nvagetbios? It should
have 2 diff methods, please try both of them. You can also look at the output
with the nvbios tool.
Looks like 0x59 and 0x5a have 6 bytes worth of arguments each. And we have a
hole there (i.e. 0x58 and 0x5b are both known) so it makes sense that they're
real opcodes... should try decoding the asm...
Short-term you can add entries in the table in subdev/bios/init.c and have the
function skip 7 bytes each (6 byte arg + 1 byte op).</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>