[AMD Official Use Only - AMD Internal Distribution Only]

Please feel free to add: Reviewed-by and Test-by: "[email protected]" ,

-----Original Message-----
From: Ma, Le <[email protected]>
Sent: Tuesday, February 11, 2025 2:40 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Lazar, Lijo <[email protected]>; 
Zhang, Jesse(Jie) <[email protected]>; Ma, Le <[email protected]>
Subject: [PATCH 1/1] drm/amdgpu: add sdma page queue irq processing for sdma442

Add the trap irq processing for page queue of sdma442

Signed-off-by: Le Ma <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c 
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
index 5e0066cd6c51..14acc3b822ec 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
@@ -1683,6 +1683,9 @@ static int sdma_v4_4_2_process_trap_irq(struct 
amdgpu_device *adev,
        case 0:
                amdgpu_fence_process(&adev->sdma.instance[i].ring);
                break;
+       case 1:
+               amdgpu_fence_process(&adev->sdma.instance[i].page);
+               break;
        default:
                break;
        }
--
2.43.2

Reply via email to