mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 21:00:17 +01:00
anv: Enable preemption due 3DPRIMITIVE in GFX 12
The issues preventing it to be enabled were fixed so now we can enable
it but we need also to enable workaround 16013994831 back again.
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34988>
(cherry picked from commit 3cd972a2d3)
This commit is contained in:
parent
5064fad403
commit
12ddaa6b8b
3 changed files with 1 additions and 14 deletions
|
|
@ -1674,7 +1674,7 @@
|
|||
"description": "anv: Enable preemption due 3DPRIMITIVE in GFX 12",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2520,14 +2520,6 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
|
|||
goto fail_fd;
|
||||
}
|
||||
|
||||
/* Disable Wa_16013994831 on Gfx12.0 because we found other cases where we
|
||||
* need to always disable preemption :
|
||||
* - https://gitlab.freedesktop.org/mesa/mesa/-/issues/5963
|
||||
* - https://gitlab.freedesktop.org/mesa/mesa/-/issues/5662
|
||||
*/
|
||||
if (devinfo.verx10 == 120)
|
||||
BITSET_CLEAR(devinfo.workarounds, INTEL_WA_16013994831);
|
||||
|
||||
if (!devinfo.has_context_isolation) {
|
||||
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
||||
"Vulkan requires context isolation for %s", devinfo.name);
|
||||
|
|
|
|||
|
|
@ -502,11 +502,6 @@ init_render_queue_state(struct anv_queue *queue, bool is_companion_rcs_batch)
|
|||
anv_batch_write_reg(batch, GENX(CS_CHICKEN1), cc1) {
|
||||
cc1.ReplayMode = MidcmdbufferPreemption;
|
||||
cc1.ReplayModeMask = true;
|
||||
|
||||
#if GFX_VERx10 == 120
|
||||
cc1.DisablePreemptionandHighPriorityPausingdueto3DPRIMITIVECommand = true;
|
||||
cc1.DisablePreemptionandHighPriorityPausingdueto3DPRIMITIVECommandMask = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if INTEL_NEEDS_WA_1806527549
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue