Bug 30496 - r600g: Evergreen segfaults (regression)
Summary: r600g: Evergreen segfaults (regression)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 05:17 UTC by Rafael Monica
Modified: 2010-09-30 14:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.