Skip to content

Commit 0743860

Browse files
Nirmoy Dasalexdeucher
authored andcommitted
drm/amdgpu: make sure we unpin the UVD BO
Releasing pinned BOs is illegal now. UVD 6 was missing from: commit 2f40801 ("drm/amdgpu: make sure we unpin the UVD BO") Fixes: 2f40801 ("drm/amdgpu: make sure we unpin the UVD BO") Cc: [email protected] Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2370eba commit 0743860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
357357

358358
error:
359359
dma_fence_put(fence);
360+
amdgpu_bo_unpin(bo);
360361
amdgpu_bo_unreserve(bo);
361362
amdgpu_bo_unref(&bo);
362363
return r;

0 commit comments

Comments
 (0)