Summary: | [Bisected IVB/HSW]Unigine demo crash | ||
---|---|---|---|
Product: | Mesa | Reporter: | meng <mengmeng.meng> |
Component: | Drivers/DRI/i965 | Assignee: | Kenneth Graunke <kenneth> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | idr, kenneth |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Xorg.0.log |
Description
meng
2013-08-28 06:13:56 UTC
Turns out this was an existing bug uncovered by the bisected patch. Fixed by: http://lists.freedesktop.org/archives/mesa-dev/2013-August/044039.html (In reply to comment #1) > Turns out this was an existing bug uncovered by the bisected patch. Fixed > by: http://lists.freedesktop.org/archives/mesa-dev/2013-August/044039.html Fixed it with the patch. Pushed to master as: commit 037f2ca607e11e62501516e4d38d90f1b2ce29ce Author: Kenneth Graunke <kenneth@whitecape.org> Date: Wed Aug 28 11:16:27 2013 -0700 i965/vs: Detect GRF sources in split_virtual_grfs send-from-GRF code. It is incorrect to assume that src[0] of a SEND-from-GRF opcode is the GRF. VS_OPCODE_PULL_CONSTANT_LOAD_GEN7 uses an IMM as src[0], and stores the GRF as src[1]. To be safe, loop over all the source registers and mark any GRFs. We probably won't ever have more than one, but it's simpler to just check all three rather than attempting to bail early. Fixes assertion failures in Unigine Sanctuary since we started making register allocation rely on split_virtual_grfs working. (The register classes were actually sufficient, we were just interpreting an IMM as a virtual GRF number.) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68637 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Cc: mesa-stable@lists.freedesktop.org Thanks for the report. Verified. |
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.