drm/amdgpu: extent threshold of waiting FLR_COMPLETE
Subsystems (2)
PATCH 1/2 drm/amdgpu: extent threshold of waiting FLR_COMPLETE
to 5s to satisfy WHOLE GPU reset which need 3+ seconds to finish
Signed-off-by Monk Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | 2 +- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h +1 -1
@@ -26,7 +26,7 @@#define AI_MAILBOX_POLL_ACK_TIMEDOUT 500#define AI_MAILBOX_POLL_MSG_TIMEDOUT 12000 -#define AI_MAILBOX_POLL_FLR_TIMEDOUT 500 +#define AI_MAILBOX_POLL_FLR_TIMEDOUT 5000enum idh_request {IDH_REQ_GPU_INIT_ACCESS =1 ,
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h +1 -1
@@ -26,7 +26,7 @@#define NV_MAILBOX_POLL_ACK_TIMEDOUT 500#define NV_MAILBOX_POLL_MSG_TIMEDOUT 6000 -#define NV_MAILBOX_POLL_FLR_TIMEDOUT 500 +#define NV_MAILBOX_POLL_FLR_TIMEDOUT 5000enum idh_request {IDH_REQ_GPU_INIT_ACCESS =1 ,
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/2 drm/amdgpu: limit smu_set_mp1_state to pp_one_vf or bare-metal
Signed-off-by Monk Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
@@ -2465,7 +2465,7 @@ static int amdgpu_device_ip_suspend_phase2(struct amdgpu_device *adev) } adev->ip_blocks[i].status.hw = false;/* handle putting the SMC in the appropriate state */ -if (!amdgpu_sriov_vf (adev)){ +if (!amdgpu_sriov_vf (adev) ||amdgpu_sriov_is_pp_one_vf (adev)) {if (adev->ip_blocks[i].version->type ==AMD_IP_BLOCK_TYPE_SMC ) { r =amdgpu_dpm_set_mp1_state (adev, adev->mp1_state);if (r) {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
RE: [PATCH 2/2] drm/amdgpu: limit smu_set_mp1_state to pp_one_vf or bare-metal
Drop this one
_____________________________________
Monk Liu|GPU Virtualization Team |AMD
-----Original Message-----
From: Monk Liu <[email protected]>
Sent: Thursday, April 23, 2020 4:13 PM
To: [email protected]
Cc: Liu, Monk <[email protected]>
Subject: [PATCH 2/2] drm/amdgpu: limit smu_set_mp1_state to pp_one_vf or bare-metal
Signed-off-by Monk Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
@@ -2465,7 +2465,7 @@ static int amdgpu_device_ip_suspend_phase2(struct amdgpu_device *adev) } adev->ip_blocks[i].status.hw = false;/* handle putting the SMC in the appropriate state */ -if (!amdgpu_sriov_vf (adev)){ +if (!amdgpu_sriov_vf (adev) ||amdgpu_sriov_is_pp_one_vf (adev)) {if (adev->ip_blocks[i].version->type ==AMD_IP_BLOCK_TYPE_SMC ) { r =amdgpu_dpm_set_mp1_state (adev, adev->mp1_state);if (r) {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx