[Nouveau] [Bug 77102] gallium nouveau has no profile in vdpau and libva

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 6 21:23:48 PDT 2014


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

--- Comment #13 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Created attachment 97009
  --> https://bugs.freedesktop.org/attachment.cgi?id=97009&action=edit
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.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140407/537a8e62/attachment.html>


More information about the Nouveau mailing list