drm/amdgpu: make sure we unpin the UVD BO
Subsystems (2)
PATCH 1/1 drm/amdgpu: make sure we unpin the UVD BO
Releasing pinned BOs is illegal now.
UVD 6 was missing from:
commit 2f40801dc553 ("drm/amdgpu: make sure we unpin the UVD BO")
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +1 -0
@@ -357,6 +357,7 @@ static int uvd_v6_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;
Signature · 6 lines
2.30.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 20.04.21 um 12:50 schrieb Nirmoy Das:
Quoted 5 lines
Releasing pinned BOs is illegal now.
UVD 6 was missing from:
commit2f40801dc553("drm/amdgpu: make sure we unpin the UVD BO")Signed-off-by Nirmoy Das <[email protected]>
Maybe add a CC:stable tag as well.
Sorry I somehow overlooked this patch. Can you make sure that it lands in amd-staging-drm-next ASAP? We have an user complaining.
Thanks,
Christian.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) · line 363
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +1
-0@@ -357,6 +357,7 @@ static int uvd_v6_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;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 5 lines · Christian König
Am 20.04.21 um 12:50 schrieb Nirmoy Das:
Quoted 4 lines
Releasing pinned BOs is illegal now.
UVD 6 was missing from:
commit2f40801dc553("drm/amdgpu: make sure we unpin the UVD BO")
Quoted 8 lines
Quoted 1 line
Signed-off-by Nirmoy Das <[email protected]>Reviewed-by Christian König <[email protected]>Maybe add a CC:stable tag as well.
Sorry I somehow overlooked this patch. Can you make sure that it lands in amd-staging-drm-next ASAP? We have an user complaining.
No worries, I will push it now with CC:stable.
Thanks,
Nirmoy
Quoted 7 lines
Thanks,
Christian.Quoted 4 lines
---
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c| 1 +1 file changed, 1 insertion(+)
Quoted 13 lines
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +0
-0@@ -357,6 +357,7 @@ static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)Quoted 6 lines
error:
dma_fence_put(fence);
+amdgpu_bo_unpin(bo);
amdgpu_bo_unreserve(bo);
amdgpu_bo_unref(&bo);
return r;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx