tests/amdgpu: add missing user queue destroy for cs_nops
PATCH 1/1 tests/amdgpu: add missing user queue destroy for cs_nops
user queues after completing the test case should destroy the user queues and do the necessary clean up. clean up was missing for cs_nops and that is added with the patch.
--- tests/amdgpu/amd_cs_nop.c | 3 +++ 1 file changed, 3 insertions(+)
tests/amdgpu/amd_cs_nop.c +3 -0
@@ -139,6 +139,9 @@ static void nop_cs(amdgpu_device_handle device,amdgpu_bo_unmap_and_free (ib_result_handle, va_handle, ib_result_mc_address,4096 ); +if (user_queue) +amdgpu_user_queue_destroy (device, ring_context, ip_type); +free (ring_context); }
Signature · 1 line
2.43.0
[AMD Official Use Only - AMD Internal Distribution Only]
Adding jesse
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Monday, April 21, 2025 1:29 PM
To: [email protected]; Prosyak, Vitaly <[email protected]>
Cc: Khatri, Sunil <[email protected]>
Subject: [PATCH] tests/amdgpu: add missing user queue destroy for cs_nops
user queues after completing the test case should destroy the user queues and do the necessary clean up. clean up was missing for cs_nops and that is added with the patch.
--- tests/amdgpu/amd_cs_nop.c | 3 +++ 1 file changed, 3 insertions(+)
tests/amdgpu/amd_cs_nop.c +3 -0
@@ -139,6 +139,9 @@ static void nop_cs(amdgpu_device_handle device,amdgpu_bo_unmap_and_free (ib_result_handle, va_handle, ib_result_mc_address,4096 ); +if (user_queue) +amdgpu_user_queue_destroy (device, ring_context, ip_type); +free (ring_context); }
--
2.43.0
[AMD Official Use Only - AMD Internal Distribution Only]
This patch is Reviewed-by: "[email protected]"
-----Original Message-----
From: Khatri, Sunil <[email protected]>
Sent: Monday, April 21, 2025 4:11 PM
To: Khatri, Sunil <[email protected]>; [email protected]; Prosyak, Vitaly <[email protected]>; Zhang, Jesse(Jie) <[email protected]>
Subject: RE: [PATCH] tests/amdgpu: add missing user queue destroy for cs_nops
[AMD Official Use Only - AMD Internal Distribution Only]
Adding jesse
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Monday, April 21, 2025 1:29 PM
To: [email protected]; Prosyak, Vitaly <[email protected]>
Cc: Khatri, Sunil <[email protected]>
Subject: [PATCH] tests/amdgpu: add missing user queue destroy for cs_nops
user queues after completing the test case should destroy the user queues and do the necessary clean up. clean up was missing for cs_nops and that is added with the patch.
--- tests/amdgpu/amd_cs_nop.c | 3 +++ 1 file changed, 3 insertions(+)
tests/amdgpu/amd_cs_nop.c +3 -0
@@ -139,6 +139,9 @@ static void nop_cs(amdgpu_device_handle device,amdgpu_bo_unmap_and_free (ib_result_handle, va_handle, ib_result_mc_address,4096 ); +if (user_queue) +amdgpu_user_queue_destroy (device, ring_context, ip_type); +free (ring_context); }
--
2.43.0
Patchwork
CI✗ Fi.CI.BUILD: failure for tests/amdgpu: add missing user queue destroy for cs_nops (rev2)
In reply to Sunil Khatri== Series Details ==
== Series Details ==
Series: tests/amdgpu: add missing user queue destroy for cs_nops (rev2)
URL : https://patchwork.freedesktop.org/series/148008/
State : failure
== Summary ==
Applying: tests/amdgpu: add missing user queue destroy for cs_nops Patch failed at 0001 tests/amdgpu: add missing user queue destroy for cs_nops When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Patchwork
CI✗ Fi.CI.BUILD: failure for tests/amdgpu: add missing user queue destroy for cs_nops (rev3)
In reply to Sunil Khatri== Series Details ==
== Series Details ==
Series: tests/amdgpu: add missing user queue destroy for cs_nops (rev3)
URL : https://patchwork.freedesktop.org/series/148008/
State : failure
== Summary ==
Applying: tests/amdgpu: add missing user queue destroy for cs_nops Patch failed at 0001 tests/amdgpu: add missing user queue destroy for cs_nops When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".