Bug 30496

Summary: r600g: Evergreen segfaults (regression)
Product: Mesa Reporter: Rafael Monica <monraaf>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rafael Monica 2010-09-30 05:17:28 UTC
With the new code paths in r600g, everything segfaults on Evergreen cards. The problem seems to be in evergreen_context_init, in the winsys. More specifically the /* setup block table */  part. It allocates 472 blocks, but only initializes block 0 - 467. So any later access to element 468 generates a segfault.
Comment 1 Jerome Glisse 2010-09-30 14:08:28 UTC
Pushed a fix, thanks for reporting the issue.

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.