drm/amdgpu: add sdma page queue irq processing for sdma442
Subsystems (2)
PATCH 1/1 drm/amdgpu: add sdma page queue irq processing for sdma442
Add the trap irq processing for page queue of sdma442
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +3 -0
@@ -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 ; }
Signature · 1 line
2.43.2
[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
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +3 -0
@@ -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
Quoted 3 lines · On 2/11/2025 12:09 PM, Le Ma wrote:
Add the trap irq processing for page queue of sdma442
Signed-off-by Le Ma <[email protected]>
Maybe good to add a WARN_ON(!adev->sdma.has_page_queue)
Thanks,
Lijo
Quoted 18 lines
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +3
-0@@ -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 ; }