mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
i965: Revert Gen8 aspect of VF PIPE_CONTROL workaround.
This apparently causes hangs on Broadwell, so let's back it out for now.
I think there are other PIPE_CONTROL workarounds that we're missing.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103787
(cherry picked from commit a01ba366e0)
This commit is contained in:
parent
093ae29b3c
commit
7bc213a644
1 changed files with 5 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ brw_emit_pipe_control(struct brw_context *brw, uint32_t flags,
|
|||
brw_emit_pipe_control_flush(brw, 0);
|
||||
}
|
||||
|
||||
if (devinfo->gen >= 8) {
|
||||
if (devinfo->gen >= 9) {
|
||||
/* THE PIPE_CONTROL "VF Cache Invalidation Enable" docs continue:
|
||||
*
|
||||
* "Project: BDW+
|
||||
|
|
@ -126,6 +126,10 @@ brw_emit_pipe_control(struct brw_context *brw, uint32_t flags,
|
|||
*
|
||||
* If there's a BO, we're already doing some kind of write.
|
||||
* If not, add a write to the workaround BO.
|
||||
*
|
||||
* XXX: This causes GPU hangs on Broadwell, so restrict it to
|
||||
* Gen9+ for now...see this bug for more information:
|
||||
* https://bugs.freedesktop.org/show_bug.cgi?id=103787
|
||||
*/
|
||||
if (!bo) {
|
||||
flags |= PIPE_CONTROL_WRITE_IMMEDIATE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue