On 04/12/2023 18:33, Boris Brezillon wrote:

<snip>

+static void
+panthor_queue_put_syncwait_obj(struct panthor_queue *queue)
+{
+       if (queue->syncwait.kmap) {
+               struct iosys_map map = 
IOSYS_MAP_INIT_VADDR(queue->syncwait.kmap);
+
+               drm_gem_vmap_unlocked(queue->syncwait.obj, &map);

pretty sure you mean vUNmap here...

+               queue->syncwait.kmap = NULL;
+       }
+
+       drm_gem_object_put(queue->syncwait.obj);
+       queue->syncwait.obj = NULL;
+}

<snip>

--
Thanks,
Ketil

Reply via email to