i965: fix regression in pipe control on g45

The cleanups got the wrong value here, just noticed in drive by.

Fixes: b505db3864 ("intel: Simplify few version checks involving G4X")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11519>
(cherry picked from commit 7c4478f43b)
This commit is contained in:
Dave Airlie 2021-06-22 17:00:41 +10:00 committed by Eric Engestrom
parent 9de17a8491
commit 20acb90a67
2 changed files with 2 additions and 2 deletions

View file

@ -2893,7 +2893,7 @@
"description": "i965: fix regression in pipe control on g45",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "b505db3864b097fa3bbf2a35bd3184554eb449d7"
},

View file

@ -495,7 +495,7 @@ genX(emit_raw_pipe_control)(struct brw_context *brw, uint32_t flags,
pc.InstructionCacheInvalidateEnable =
flags & PIPE_CONTROL_INSTRUCTION_INVALIDATE;
pc.NotifyEnable = flags & PIPE_CONTROL_NOTIFY_ENABLE;
#if GFX_VER >= 45
#if GFX_VERx10 >= 45
pc.IndirectStatePointersDisable =
flags & PIPE_CONTROL_INDIRECT_STATE_POINTERS_DISABLE;
#endif