drm/amdkfd: use mode1 reset for RAS poison consumption
Subsystems (3)
PATCH 1/1 drm/amdkfd: use mode1 reset for RAS poison consumption
Per FW requirement, replace mode2 with mode1.
--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +2 -2
@@ -164,7 +164,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SE3SH :case SOC15_IH_CLIENTID_UTCL2 : block =AMDGPU_RAS_BLOCK__GFX ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;case SOC15_IH_CLIENTID_VMC :case SOC15_IH_CLIENTID_VMC1 :
@@ -177,7 +177,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SDMA3 :case SOC15_IH_CLIENTID_SDMA4 : block =AMDGPU_RAS_BLOCK__SDMA ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;default : dev_warn(dev->adev->dev,
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Regards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Tao Zhou
Sent: Thursday, June 13, 2024 14:57
To: [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amdkfd: use mode1 reset for RAS poison consumption
Per FW requirement, replace mode2 with mode1.
--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +2 -2
@@ -164,7 +164,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SE3SH :case SOC15_IH_CLIENTID_UTCL2 : block =AMDGPU_RAS_BLOCK__GFX ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;case SOC15_IH_CLIENTID_VMC :case SOC15_IH_CLIENTID_VMC1 :
@@ -177,7 +177,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SDMA3 :case SOC15_IH_CLIENTID_SDMA4 : block =AMDGPU_RAS_BLOCK__SDMA ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;default : dev_warn(dev->adev->dev,
--
2.34.1
Quoted 21 lines · Tao Zhou
Per FW requirement, replace mode2 with mode1.
Signed-off-by Tao Zhou <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +1
-1@@ -164,7 +164,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SE3SH :case SOC15_IH_CLIENTID_UTCL2 : block =AMDGPU_RAS_BLOCK__GFX ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;case SOC15_IH_CLIENTID_VMC :case SOC15_IH_CLIENTID_VMC1 :
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c static void event_interrupt_poison_consumption_v9(struct kfd_node *dev, · line 181
Quoted 6 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +1
-1@@ -177,7 +177,7 @@ static void event_interrupt_poison_consumption_v9(struct kfd_node *dev,case SOC15_IH_CLIENTID_SDMA3 :case SOC15_IH_CLIENTID_SDMA4 : block =AMDGPU_RAS_BLOCK__SDMA ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;
Does this need 9.4.3 IP version check?
Thanks,
Lijo
Quoted 2 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +0
-0default : dev_warn(dev->adev->dev,
[AMD Official Use Only - AMD Internal Distribution Only]
Quoted 33 lines
-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Thursday, June 13, 2024 4:07 PM
To: Zhou1, Tao <[email protected]>; [email protected]
Subject: Re: [PATCH] drm/amdkfd: use mode1 reset for RAS poison consumptionReview
Quoted 8 lines · Tao Zhou
Per FW requirement, replace mode2 with mode1.
Signed-off-by Tao Zhou <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.cdrivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c static void
Quoted 4 lines
index
e1c21d250611..78dde62fb04a100644drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +0
-0@@ -164,7 +164,7 @@ static voidevent_interrupt_poison_consumption_v9(struct
kfd_node*dev,drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c static void
Quoted 9 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +1
-1case SOC15_IH_CLIENTID_SE3SH :case SOC15_IH_CLIENTID_UTCL2 : block =AMDGPU_RAS_BLOCK__GFX ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;case SOC15_IH_CLIENTID_VMC :case SOC15_IH_CLIENTID_VMC1 :@@ -177,7 +177,7 @@ static voidevent_interrupt_poison_consumption_v9(struct
kfd_node*dev,
Quoted 8 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c static void event_interrupt_poison_consumption_v9(struct kfd_node *dev, · line 181
Quoted 6 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +1
-1case SOC15_IH_CLIENTID_SDMA3 :case SOC15_IH_CLIENTID_SDMA4 : block =AMDGPU_RAS_BLOCK__SDMA ; - reset =AMDGPU_RAS_GPU_RESET_MODE2_RESET ; + reset =AMDGPU_RAS_GPU_RESET_MODE1_RESET ;break ;Does this need 9.4.3 IP version check?
[Tao] It's applicable to all gfx9 ASICs.
Quoted 5 lines
Thanks,
LijoQuoted 2 lines
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +0
-0default : dev_warn(dev->adev->dev,