From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 77102] gallium nouveau has no profile in vdpau and libva Date: Mon, 07 Apr 2014 07:09:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0866143531==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0866143531== Content-Type: multipart/alternative; boundary="1396854560.dEAEFA0.16559"; charset="us-ascii" --1396854560.dEAEFA0.16559 Date: Mon, 7 Apr 2014 07:09:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=77102 --- Comment #14 from Stefan Ringel --- (In reply to comment #13) > Created attachment 97009 [details] [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.) Patch works. Thanks. -- You are receiving this mail because: You are the assignee for the bug. --1396854560.dEAEFA0.16559 Date: Mon, 7 Apr 2014 07:09:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 14 on bug 77102 from
(In reply to comment #13)
> Created attachment 97009 [details] [review] [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.)

Patch works. Thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396854560.dEAEFA0.16559-- --===============0866143531== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0866143531==--