From: jsg Date: Thu, 4 Nov 2021 12:52:37 +0000 (+0000) Subject: revert rev 1.30 of ttm_bo_util.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=81a411d91a258cecde5b787e99e69117d6aaa2ed;p=openbsd revert rev 1.30 of ttm_bo_util.c 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. --- diff --git a/sys/dev/pci/drm/ttm/ttm_bo_util.c b/sys/dev/pci/drm/ttm/ttm_bo_util.c index 7be44204365..e8aa52a0a51 100644 --- a/sys/dev/pci/drm/ttm/ttm_bo_util.c +++ b/sys/dev/pci/drm/ttm/ttm_bo_util.c @@ -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); }