mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
pan/kmod: Avoid deadlock on VA allocation failure on panthor
Fixes: 97f6a62f7e ("pan/kmod: Add a backend for panthor")
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30150>
This commit is contained in:
parent
ffef3d1709
commit
668bde4421
1 changed files with 1 additions and 1 deletions
|
|
@ -977,12 +977,12 @@ panthor_kmod_vm_bind(struct pan_kmod_vm *vm, enum pan_kmod_vm_op_mode mode,
|
|||
simple_mtx_unlock(&panthor_vm->auto_va.lock);
|
||||
}
|
||||
|
||||
out_update_vas:
|
||||
if (track_activity) {
|
||||
panthor_kmod_vm_sync_unlock(vm,
|
||||
ret ? vm_orig_sync_point : vm_new_sync_point);
|
||||
}
|
||||
|
||||
out_update_vas:
|
||||
for (uint32_t i = 0; i < op_count; i++) {
|
||||
if (ops[i].type == PAN_KMOD_VM_OP_TYPE_MAP &&
|
||||
ops[i].va.start == PAN_KMOD_VM_MAP_AUTO_VA) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue