diff mbox series

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

Message ID bug-208893-2300-oQvVOcsvGy@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,208893] Navi (RX 5700 XT) system appears to hang with more than one display connected | expand

Commit Message

bugzilla-daemon@bugzilla.kernel.org Aug. 13, 2020, 6:39 a.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=208893

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

My card is a PowerColor Red Devil 5600 XT.


(END)
diff mbox series

Patch

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);