iris: Handle Xe syncronization with syncobjs

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22425>
This commit is contained in:
José Roberto de Souza 2022-11-30 12:25:38 -08:00 committed by Marge Bot
parent 910e659e31
commit 156464b67e

View file

@ -521,6 +521,9 @@ iris_bo_busy(struct iris_bo *bo)
else
busy = iris_bo_busy_syncobj(bo);
break;
case INTEL_KMD_TYPE_XE:
busy = iris_bo_busy_syncobj(bo);
break;
default:
unreachable("missing");
busy = true;
@ -1627,6 +1630,9 @@ iris_bo_wait(struct iris_bo *bo, int64_t timeout_ns)
else
ret = iris_bo_wait_syncobj(bo, timeout_ns);
break;
case INTEL_KMD_TYPE_XE:
ret = iris_bo_wait_syncobj(bo, timeout_ns);
break;
default:
unreachable("missing");
ret = -1;