mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
drm/amdgpu: make sure we unpin the UVD BO
Releasing pinned BOs is illegal now. Signed-off-by: Christian König <[email protected]> Acked-by: Leo Liu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
@@ -363,6 +363,7 @@ static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
|
||||
|
||||
error:
|
||||
dma_fence_put(fence);
|
||||
amdgpu_bo_unpin(bo);
|
||||
amdgpu_bo_unreserve(bo);
|
||||
amdgpu_bo_unref(&bo);
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user