Bug 22460

Summary: Demos crash with NV40 driver
Product: Mesa Reporter: Bob Gleitsmann <rjgleits>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to fix problem above

Description Bob Gleitsmann 2009-06-24 15:49:31 UTC
Created attachment 27097 [details] [review]
Patch to fix problem above

Most  demo programs included in Mesa tree crash with segment violation when using nouveau driver with NV40 cards. The patch fixes most of the problems. The drivers for the the rest of the nvidia family seem to have this correct I hope this is the right place and the right format for the patch.

Best Wishes,

Bob Gleitsmann
Comment 1 Younes Manton 2009-06-25 08:13:14 UTC
Thanks, I'll apply if noone else gets to it.

It works on x86 because ptx ends up in the same stack location either way, so I never saw this. Don't know how that code got in there in the first place either, I wrote the NV40 version then just copied the contents to NV04-NV30, or so I recall.
Comment 2 Younes Manton 2009-06-30 07:21:58 UTC
Done. Thanks.
Comment 3 Adam Jackson 2009-08-24 12:32:33 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.