<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - gallium nouveau has no profile in vdpau and libva"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77102#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - gallium nouveau has no profile in vdpau and libva"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77102">bug 77102</a>
              from <span class="vcard"><a class="email" href="mailto:mail@stefanringel.de" title="Stefan Ringel <mail@stefanringel.de>"> <span class="fn">Stefan Ringel</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=77102#c13">comment #13</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=97009" name="attach_97009" title="firmware present patch">attachment 97009</a> <a href="attachment.cgi?id=97009&action=edit" title="firmware present patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=77102&attachment=97009'>[review]</a> [review]
> firmware present patch

> OK, upon further code reading, it looks like the way nouveau does class id's
> is a bit off. That doesn't strictly matter for BSP, but there's a mismatch
> in the logic between mesa and the kernel, which causes problems for NVD7 and
> NVD9 cards.

> In nouveau_vp3_video.c:firmware_present,

>       if (chipset < 0xc0)
>          oclass = 0x85b1;
>       else if (vp5)
>          oclass = 0x95b1;
>       else
>          oclass = 0x90b1;

> should become

>       if (chipset < 0xc0)
>          oclass = 0x85b1;
>       else if (chipset < 0xe0)
>          oclass = 0x90b1;
>       else
>          oclass = 0x95b1;

> Since the kernel expects the 90b1 class to be used on the NVD9 card, despite
> it having VP5. I've attached this change as a patch, please try it out. (If
> you can't, I'll try to locate someone else with the relevant hardware, but
> it'd be much easier if you could do it.)</span >

Patch works. Thanks.</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>