[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu Aug 13 06:39:13 UTC 2020


https://bugzilla.kernel.org/show_bug.cgi?id=208893

--- Comment #4 from Gordon (gordon at gordonite.tech) ---
Found a fix for the issue. 

My card is a PowerColor Red Devil 5600 XT.


diff --git a/drivers/gpu/drm/amd/powerplay/smu_cmn.c
b/drivers/gpu/drm/amd/powerplay/smu_cmn.c
index 5c23c44c33bd..62917c447ddb 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_cmn.c
+++ b/drivers/gpu/drm/amd/powerplay/smu_cmn.c
@@ -87,7 +87,7 @@ static void smu_cmn_read_arg(struct smu_context *smu,
 static int smu_cmn_wait_for_response(struct smu_context *smu)
 {
        struct amdgpu_device *adev = smu->adev;
-       uint32_t cur_value, i, timeout = adev->usec_timeout * 10;
+       uint32_t cur_value, i, timeout = adev->usec_timeout * 20;

        for (i = 0; i < timeout; i++) {
                cur_value = RREG32_SOC15_NO_KIQ(MP1, 0, mmMP1_SMN_C2PMSG_90);
(END)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list