drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
Subsystems (2)
PATCH 1/1 drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
Use mode1 reset for dimgrey_cavefish by default.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -0
@@ -362,6 +362,7 @@ nv_asic_reset_method(struct amdgpu_device *adev)switch (adev->asic_type) {case CHIP_SIENNA_CICHLID :case CHIP_NAVY_FLOUNDER : +case CHIP_DIMGREY_CAVEFISH :return AMD_RESET_METHOD_MODE1 ;default :if (smu_baco_is_support (smu))
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
-----Original Message-----
From: Zhou1, Tao <[email protected]>
Sent: Tuesday, December 15, 2020 6:23 PM
To: Chen, Jiansong (Simon) <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
Use mode1 reset for dimgrey_cavefish by default.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -0
@@ -362,6 +362,7 @@ nv_asic_reset_method(struct amdgpu_device *adev)switch (adev->asic_type) {case CHIP_SIENNA_CICHLID :case CHIP_NAVY_FLOUNDER : +case CHIP_DIMGREY_CAVEFISH :return AMD_RESET_METHOD_MODE1 ;default :if (smu_baco_is_support (smu))
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
You will also need to add the asic_type to amdgpu_device_should_recover_gpu() if you the driver to actually use GPU reset when it encounters a hang.
Alex
________________________________
From: amd-gfx <[email protected]> on behalf of Chen, Jiansong (Simon) <[email protected]>
Sent: Tuesday, December 15, 2020 5:33 AM
To: Zhou1, Tao <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected] <[email protected]>
Subject: RE: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
[AMD Official Use Only - Internal Distribution Only]
[AMD Official Use Only - Internal Distribution Only]
-----Original Message-----
From: Zhou1, Tao <[email protected]>
Sent: Tuesday, December 15, 2020 6:23 PM
To: Chen, Jiansong (Simon) <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
Use mode1 reset for dimgrey_cavefish by default.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -0
@@ -362,6 +362,7 @@ nv_asic_reset_method(struct amdgpu_device *adev)switch (adev->asic_type) {case CHIP_SIENNA_CICHLID :case CHIP_NAVY_FLOUNDER : +case CHIP_DIMGREY_CAVEFISH :return AMD_RESET_METHOD_MODE1 ;default :if (smu_baco_is_support (smu))
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Calexander.deucher%40amd.com%7Cb3da8467a171425a6cf208d8a0e4d612%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436252010819826%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fr8uXVyoVz5WlYtYPRbKm1%2BN0ROBWuLuqPOuL3%2BHC0E%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Zhou1, Tao
Reviewed-by Jiansong Chen[AMD Public Use]
Thanks for your reminder, I'll add another patch to enable gpu recovery.
Tao
From: Deucher, Alexander <[email protected]>
Sent: Tuesday, December 15, 2020 10:27 PM
To: Chen, Jiansong (Simon) <[email protected]>; Zhou1, Tao <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected]
Subject: Re: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
[AMD Official Use Only - Internal Distribution Only]
You will also need to add the asic_type to amdgpu_device_should_recover_gpu() if you the driver to actually use GPU reset when it encounters a hang.
Alex
________________________________
From: amd-gfx <[email protected]<mailto:[email protected]>> on behalf of Chen, Jiansong (Simon) <[email protected]<mailto:[email protected]>>
Sent: Tuesday, December 15, 2020 5:33 AM
To: Zhou1, Tao <[email protected]<mailto:[email protected]>>; Gui, Jack <[email protected]<mailto:[email protected]>>; Zhang, Hawking <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
Subject: RE: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
[AMD Official Use Only - Internal Distribution Only]
[AMD Official Use Only - Internal Distribution Only]
-----Original Message-----
From: Zhou1, Tao <[email protected]<mailto:[email protected]>>
Sent: Tuesday, December 15, 2020 6:23 PM
To: Chen, Jiansong (Simon) <[email protected]<mailto:[email protected]>>; Gui, Jack <[email protected]<mailto:[email protected]>>; Zhang, Hawking <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>
Cc: Zhou1, Tao <[email protected]<mailto:[email protected]>>
Subject: [PATCH] drm/amdgpu: set mode1 reset as default for dimgrey_cavefish
Use mode1 reset for dimgrey_cavefish by default.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -0
@@ -362,6 +362,7 @@ nv_asic_reset_method(struct amdgpu_device *adev)switch (adev->asic_type) {case CHIP_SIENNA_CICHLID :case CHIP_NAVY_FLOUNDER : +case CHIP_DIMGREY_CAVEFISH :return AMD_RESET_METHOD_MODE1 ;default :if (smu_baco_is_support (smu))
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]<mailto:[email protected]>
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Calexander.deucher%40amd.com%7Cb3da8467a171425a6cf208d8a0e4d612%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436252010819826%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fr8uXVyoVz5WlYtYPRbKm1%2BN0ROBWuLuqPOuL3%2BHC0E%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx