Skip to content
Snippets Groups Projects

panfrost stall

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Erik Faye-Lund
    Edited
    test.patch 822 B
    diff --git a/src/panfrost/lib/kmod/panthor_kmod.c b/src/panfrost/lib/kmod/panthor_kmod.c
    index 6254f01030f..310d783ee36 100644
    --- a/src/panfrost/lib/kmod/panthor_kmod.c
    +++ b/src/panfrost/lib/kmod/panthor_kmod.c
    @@ -1136,12 +1136,6 @@ panthor_kmod_vm_sync_unlock(struct pan_kmod_vm *vm, uint64_t new_sync_point)
        assert(vm->flags & PAN_KMOD_VM_FLAG_TRACK_ACTIVITY);
        assert(new_sync_point >= panthor_vm->sync.point);
     
    -   /* Check that the new syncpoint has a fence attached to it. */
    -   assert(new_sync_point == panthor_vm->sync.point ||
    -          drmSyncobjTimelineWait(
    -             vm->dev->fd, &panthor_vm->sync.handle, &new_sync_point, 1, 0,
    -             DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE, NULL) >= 0);
    -
        panthor_vm->sync.point = new_sync_point;
        simple_mtx_unlock(&panthor_vm->sync.lock);
     }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment