drm/ttm: stop pruning fences after wait
authorChristian König <christian.koenig@amd.com>
Fri, 26 Nov 2021 16:11:21 +0000 (17:11 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 30 Nov 2021 14:59:33 +0000 (15:59 +0100)
This is just abusing internals of the dma_resv object.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211129120659.1815-3-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c

index e4a20a3a5d16607bba2b8d93c82f5386a924edef..fc124457ba2ffbdf98dc57ab79d2b574164e1ead 100644 (file)
@@ -1086,7 +1086,6 @@ int ttm_bo_wait(struct ttm_buffer_object *bo,
        if (timeout == 0)
                return -EBUSY;
 
-       dma_resv_add_excl_fence(bo->base.resv, NULL);
        return 0;
 }
 EXPORT_SYMBOL(ttm_bo_wait);