mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 01:40:14 +01:00
iris: make Wa_16013994831 to use intel_needs_workaround
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22560>
This commit is contained in:
parent
7e9b06f1c6
commit
58e2947cc9
1 changed files with 1 additions and 3 deletions
|
|
@ -6721,10 +6721,8 @@ iris_upload_dirty_render_state(struct iris_context *ice,
|
|||
|
||||
#if GFX_VERx10 >= 120
|
||||
/* Wa_16013994831 - Disable preemption. */
|
||||
if (batch->screen->devinfo->verx10 == 120 ||
|
||||
intel_device_info_is_dg2(batch->screen->devinfo)) {
|
||||
if (intel_needs_workaround(batch->screen->devinfo, 16013994831))
|
||||
iris_preemption_streamout_wa(ice, batch, false);
|
||||
}
|
||||
#endif
|
||||
|
||||
uint32_t dynamic_sol[GENX(3DSTATE_STREAMOUT_length)];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue