mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
910e659e31
commit
156464b67e
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue