SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host dmesg have error
Subsystems (2)
[AMD Official Use Only - Internal Distribution Only]
Ping......
-----Original Message-----
From: Jiawei <[email protected]>
Sent: Wednesday, March 25, 2020 4:32 PM
To: [email protected]
Cc: Gu, JiaWei (Will) <[email protected]>
Subject: [PATCH] SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host dmesg have error
root cause: compute job timeout for sriov/passthrough is 10000 ms, which is too short for some compute benchmark
solution: extend the default compute lockup timeout to 60000 ms
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -2
@@ -2680,12 +2680,12 @@ static int amdgpu_device_get_job_timeout_settings(struct amdgpu_device *adev)* By default timeout for non compute jobs is 10000. * And there is no timeout enforced on compute jobs. * In SR-IOV or passthrough mode, timeout for compute -* jobs are 10000 by default. +* jobs are 60000 by default. */ adev->gfx_timeout =msecs_to_jiffies (10000 ); adev->sdma_timeout = adev->video_timeout = adev->gfx_timeout;if (amdgpu_sriov_vf (adev) ||amdgpu_passthrough (adev)) - adev->compute_timeout = adev->gfx_timeout; + adev->compute_timeout =msecs_to_jiffies (60000 );else adev->compute_timeout =MAX_SCHEDULE_TIMEOUT ;
--
2.20.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Deng, Emily
Reviewed-by[AMD Official Use Only - Internal Distribution Only]
Quoted 54 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Gu, JiaWei (Will)
Sent: Thursday, March 26, 2020 1:58 PM
To: [email protected]
Subject: RE: [PATCH] SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host dmesg have error[AMD Official Use Only - Internal Distribution Only]
Ping......
-----Original Message-----
From: Jiawei <[email protected]>
Sent: Wednesday, March 25, 2020 4:32 PM
To: [email protected]
Cc: Gu, JiaWei (Will) <[email protected]>
Subject: [PATCH] SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host dmesg have errorroot cause: compute job timeout for sriov/passthrough is 10000 ms, which is too short for some compute benchmark
solution: extend the default compute lockup timeout to 60000 ms
Signed-off-by Jiawei <[email protected]>---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2
-3@@ -2680,12 +2680,12 @@ static intamdgpu_device_get_job_timeout_settings(struct amdgpu_device *adev) * By default timeout for non compute jobs is 10000. * And there is no timeout enforced on compute jobs. * In SR-IOV or passthrough mode, timeout for compute -* jobs are 10000 by default. +* jobs are 60000 by default. */ adev->gfx_timeout =msecs_to_jiffies (10000 ); adev->sdma_timeout = adev->video_timeout = adev->gfx_timeout;if (amdgpu_sriov_vf (adev) ||amdgpu_passthrough (adev)) - adev->compute_timeout = adev->gfx_timeout; + adev->compute_timeout =msecs_to_jiffies (60000 );else adev->compute_timeout =MAX_SCHEDULE_TIMEOUT ; --2.20.1
_______________________________________________
Quoted 8 lines
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.free
desktop.org%2Fmailman%2Flistinfo%2Famd- gfx&data=02%7C01%7CEmily.Deng%40amd.com%7Cef72ce0afbaf4ed9b1a 708d7d14a9e8b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637 207990753889298&sdata=febWyY9VUPq2hucVLit73FilxzacEmoIq1TBLFha %2FNM%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx