anv: disable Wa_16013994831
We've implemented another workaround completely disabling high
priority preemption.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e6e320fc79 ("anv: make Wa_16013994831 to use intel_needs_workaround")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27716>
(cherry picked from commit 137b7e874f22a9b4ce37b4cbe2a11576f7648109)
This commit is contained in:
parent
d3df85a197
commit
db5a997626
2 changed files with 9 additions and 1 deletions
|
|
@ -2004,7 +2004,7 @@
|
||||||
"description": "anv: disable Wa_16013994831",
|
"description": "anv: disable Wa_16013994831",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "e6e320fc7996db60231d277bc3e28fdd01018b33",
|
"because_sha": "e6e320fc7996db60231d277bc3e28fdd01018b33",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -2165,6 +2165,14 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
|
||||||
goto fail_fd;
|
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) {
|
if (!devinfo.has_context_isolation) {
|
||||||
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
||||||
"Vulkan requires context isolation for %s", devinfo.name);
|
"Vulkan requires context isolation for %s", devinfo.name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue