revert rev 1.30 of ttm_bo_util.c
authorjsg <jsg@openbsd.org>
Thu, 4 Nov 2021 12:52:37 +0000 (12:52 +0000)
committerjsg <jsg@openbsd.org>
Thu, 4 Nov 2021 12:52:37 +0000 (12:52 +0000)
Laurence Tratt reported firefox would hard lock a machine
with polaris12 with the ttm change from linux 5.10.77.
robert@ also hit the same problem.

sys/dev/pci/drm/ttm/ttm_bo_util.c

index 7be4420..e8aa52a 100644 (file)
@@ -334,7 +334,6 @@ static void ttm_transfered_destroy(struct ttm_buffer_object *bo)
        struct ttm_transfer_obj *fbo;
 
        fbo = container_of(bo, struct ttm_transfer_obj, base);
-       dma_resv_fini(&fbo->base.base._resv);
        ttm_bo_put(fbo->bo);
        kfree(fbo);
 }