Skip to content

iris: fix iris_xe_wait_exec_queue_idle() on release builds

Paulo Zanoni requested to merge pzanoni/mesa:iris-fix-queue-wait into main
iris: fix iris_xe_wait_exec_queue_idle() on release builds

We need to call iris_wait_syncobj() on both release and debug builds,
so take it out of the assert() call. Only assert the result.

With this patch, gnome-session finally works for me. Also steam.

Fixes: 665d30b5448f ("iris: Wait for drm_xe_exec_queue to be idle before destroying it")

Related: !30156 (merged)

Cc: @zehortigoza @mbrost

Merge request reports