drm/amdgpu: enable gpu recovery for navy_flounder
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable gpu recovery for navy_flounder
Enable gpu recovery for navy_flounder by default to trigger reset once needed.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
@@ -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
[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 fornavy_flounderEnable gpu recovery for
navy_flounderby default to trigger reset once needed.Signed-off-by Jiansong Chen <[email protected]>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@@ -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
Dear Jiansong,
Am 11.01.21 um 10:49 schrieb Jiansong Chen:
Quoted 2 lines
Enable gpu recovery for
navy_flounderby 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
[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_flounderby 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
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