Skip to contentSkip to conversation

drm/amdgpu: enable gpu recovery for navy_flounder

PATCH In review Jiansong Chen 3 participants 5 messages Jan 11, 2021 – Jan 12, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: enable gpu recovery for navy_flounder

Enable gpu recovery for navy_flounder by default to trigger reset once needed.

Change-Id If213b4c7a5444872ec51869da53a374bf40db7fe
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index 087afab67e22..dd67b589b4ab 100644
@@ -4206,6 +4206,7 @@ bool amdgpu_device_should_recover_gpu(struct amdgpu_device *adev)
 		case CHIP_NAVI14:
 		case CHIP_NAVI12:
 		case CHIP_SIENNA_CICHLID:
+		case CHIP_NAVY_FLOUNDER:
 			break;
 		default:
 			goto disabled;
Signature · 6 lines
2.25.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

[AMD Public Use]

Quoted 30 lines

-----Original Message-----
From: Jiansong Chen <[email protected]>
Sent: Monday, January 11, 2021 5:50 PM
To: [email protected]
Cc: Zhou1, Tao <[email protected]>; Zhang, Hawking <[email protected]>; Chen, Jiansong (Simon) <[email protected]>
Subject: [PATCH] drm/amdgpu: enable gpu recovery for navy_flounder

Enable gpu recovery for navy_flounder by default to trigger reset once needed.

Change-Id If213b4c7a5444872ec51869da53a374bf40db7fe
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index 087afab67e22..dd67b589b4ab 100644
@@ -4206,6 +4206,7 @@ bool amdgpu_device_should_recover_gpu(struct
 amdgpu_device *adev)
 		case CHIP_NAVI14:
 		case CHIP_NAVI12:
 		case CHIP_SIENNA_CICHLID:
+		case CHIP_NAVY_FLOUNDER:
 			break;
 		default:
Quoted 3 lines

goto disabled;
--
2.25.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#2 lore raw
In reply to Jiansong Chen

Dear Jiansong,

Am 11.01.21 um 10:49 schrieb Jiansong Chen:

Quoted 2 lines

Enable gpu recovery for navy_flounder by default to trigger reset once needed.

[…]

Why was it disabled before? Were some bugs fixed, that it works now?

How did you test this? Is there a command to “crash“ the GPU, so it can be recovered?

Please extend the commit message accordingly.

Kind regards,

Paul
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw

[AMD Official Use Only - Internal Distribution Only]

Hi Paul,
We just enable gpu recovery when the feature is stable enough for navy_flounder. And you can use debugfs interface to perform a manual GPU reset. Here is more detail https://github.com/RadeonOpenCompute/ROCm/issues/616. Thanks!

Regards,
Jiansong
-----Original Message-----
From: Paul Menzel <[email protected]>
Sent: Monday, January 11, 2021 7:58 PM
To: Chen, Jiansong (Simon) <[email protected]>
Cc: Zhou1, Tao <[email protected]>; Zhang, Hawking <[email protected]>; [email protected]
Subject: Re: [PATCH] drm/amdgpu: enable gpu recovery for navy_flounder

Dear Jiansong,

Am 11.01.21 um 10:49 schrieb Jiansong Chen:

Quoted 2 lines

Enable gpu recovery for navy_flounder by default to trigger reset once needed.

[…]

Why was it disabled before? Were some bugs fixed, that it works now?

How did you test this? Is there a command to “crash“ the GPU, so it can be recovered?

Please extend the commit message accordingly.

Kind regards,

Paul
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#4 lore raw

Dear Jiansong,

Am 11.01.21 um 13:26 schrieb Chen, Jiansong (Simon):

Quoted 1 line

[AMD Official Use Only - Internal Distribution Only]

(What does this notice mean exactly? Should be removed for public mailing lists.)

Quoted 2 lines

We just enable gpu recovery when the feature is stable enough for navy_flounder.

Then please mention that in the commit message. Something like:

Quoted 5 lines

Now that GPU recovery is stable enough, …

And you can use debugfs interface to perform a manual GPU reset. Here is more detail
https://github.com/RadeonOpenCompute/ROCm/issues/616. Thanks!

Thank you. It would still be nice, to have this information in the commit message.

Kind regards,

Paul
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx