mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
iris: expand pre-hiz data cache flush to gfx >= 125
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27132>
(cherry picked from commit 93706d5c2f)
This commit is contained in:
parent
b428530441
commit
69cac7ae19
2 changed files with 2 additions and 2 deletions
|
|
@ -1234,7 +1234,7 @@
|
|||
"description": "iris: expand pre-hiz data cache flush to gfx >= 125",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -703,7 +703,7 @@ iris_hiz_exec(struct iris_context *ice,
|
|||
/* A data cache flush is not suggested by HW docs, but we found it to fix
|
||||
* a number of failures.
|
||||
*/
|
||||
unsigned wa_flush = intel_device_info_is_dg2(batch->screen->devinfo) &&
|
||||
unsigned wa_flush = devinfo->verx10 >= 125 &&
|
||||
res->aux.usage == ISL_AUX_USAGE_HIZ_CCS ?
|
||||
PIPE_CONTROL_DATA_CACHE_FLUSH : 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue