mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
anv: implement VF_STATISTICS emit for Wa_16012775297
Emit dummy VF_STATISTICS state before each VF state.
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31759>
(cherry picked from commit dddd765553)
This commit is contained in:
parent
1a3141acc3
commit
40ca28af98
2 changed files with 8 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
|||
"description": "anv: implement VF_STATISTICS emit for Wa_16012775297",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2311,6 +2311,13 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer)
|
|||
* because of another one is changing.
|
||||
*/
|
||||
|
||||
/* Wa_16012775297 - Emit dummy VF statistics before each 3DSTATE_VF. */
|
||||
#if INTEL_WA_16012775297_GFX_VER
|
||||
if (intel_needs_workaround(device->info, 16012775297) &&
|
||||
BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VF))
|
||||
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_VF_STATISTICS);
|
||||
#endif
|
||||
|
||||
/* Since Wa_16011773973 will disable 3DSTATE_STREAMOUT, we need to reemit
|
||||
* it after.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue