Re: [PATCH] drm/amdgpu: Fix stub fence refcount underflow

2022-07-28 Thread Felix Kuehling
Am 2022-07-27 um 23:52 schrieb Alex Deucher: On Wed, Jul 27, 2022 at 7:08 PM Felix Kuehling wrote: Don't drop the stub fence reference after installing it as a replacement for the eviction fence. dma_resv_replace_fences doesn't take another reference to the fence, so it takes ownership of the r

[PATCH] drm/amdgpu: Fix stub fence refcount underflow

2022-07-27 Thread Felix Kuehling
Don't drop the stub fence reference after installing it as a replacement for the eviction fence. dma_resv_replace_fences doesn't take another reference to the fence, so it takes ownership of the reference passed in by us. Fixes: 548e7432dc2d ("dma-buf: add dma_resv_replace_fences v2") CC: Christia