From: bugzilla-daemon@freedesktop.org Subject: [Bug 107607] Problems with MST display (REG_WAIT takes a while or times out) Date: Mon, 20 Aug 2018 16:51:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1644566729==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id CD9916E2DE for ; Mon, 20 Aug 2018 16:51:24 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1644566729== Content-Type: multipart/alternative; boundary="15347838840.a2fA37.1411" Content-Transfer-Encoding: 7bit --15347838840.a2fA37.1411 Date: Mon, 20 Aug 2018 16:51:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107607 --- Comment #1 from Paul Menzel --- Created attachment 141201 --> https://bugs.freedesktop.org/attachment.cgi?id=3D141201&action=3Dedit Linux 4.18+ messages with drm.debug=3D0xe Here is a verbose log. I believe it=E2=80=99s related to DP 1.2 and the MST= Dell monitor. [ 15.113453] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 24m= s in enc1_stream_encoder_dp_blank line:804 [ 15.146724] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms= in optc1_disable_crtc line:513 [ 23.953593] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms= in mpc1_assert_idle_mpcc line:103 [ 24.003514] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms= in mpc1_assert_idle_mpcc line:103 [ 100.425097] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 6ms= in mpc1_assert_idle_mpcc line:103 [ 100.441735] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms= in mpc1_assert_idle_mpcc line:103 [ 104.509792] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u= s * 3000 tries - enc1_stream_encoder_dp_blank line:804 [ 104.509841] WARNING: CPU: 1 PID: 1550 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu] [ 104.509895] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 104.517863] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms= in optc1_disable_crtc line:513 [ 108.605859] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u= s * 3000 tries - enc1_stream_encoder_dp_blank line:804 [ 108.605909] WARNING: CPU: 2 PID: 1550 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu] [ 108.605964] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 108.610990] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms= in optc1_disable_crtc line:513 [ 110.529644] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms= in optc1_wait_for_state line:782 [ 110.536052] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms= in optc1_wait_for_state line:782 [ 115.561370] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms= in mpc1_assert_idle_mpcc line:103 [ 115.578008] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms= in mpc1_assert_idle_mpcc line:103 [ 115.686970] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u= s * 3000 tries - enc1_stream_encoder_dp_blank line:804 [ 115.687021] WARNING: CPU: 3 PID: 48 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu] [ 115.687079] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 115.694125] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms= in optc1_disable_crtc line:513 [ 115.737576] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u= s * 3000 tries - enc1_stream_encoder_dp_blank line:804 [ 115.737626] WARNING: CPU: 3 PID: 48 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu] [ 115.737678] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 115.744042] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms= in optc1_disable_crtc line:513 [ 116.250536] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms= in optc1_wait_for_state line:782 [ 116.267508] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms= in mpc1_assert_idle_mpcc line:103 [ 256.781411] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms= in mpc1_assert_idle_mpcc line:103 [ 256.798049] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms= in mpc1_assert_idle_mpcc line:103 [ 256.830971] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms= in optc1_disable_crtc line:513 [ 256.864242] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms= in optc1_disable_crtc line:513 [ 260.684885] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms= in optc1_wait_for_state line:782 [ 260.701867] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 6ms= in mpc1_assert_idle_mpcc line:103 --=20 You are receiving this mail because: You are the assignee for the bug.= --15347838840.a2fA37.1411 Date: Mon, 20 Aug 2018 16:51:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10760= 7 from Paul Menzel
Created attachment 141201 [details]
Linux 4.18+ messages with drm.debug=3D0xe

Here is a verbose log. I believe it=E2=80=99s related to DP 1.2 and the MST=
 Dell
monitor.

[   15.113453] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 24m=
s in
enc1_stream_encoder_dp_blank line:804
[   15.146724] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms=
 in
optc1_disable_crtc line:513
[   23.953593] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms=
 in
mpc1_assert_idle_mpcc line:103
[   24.003514] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms=
 in
mpc1_assert_idle_mpcc line:103
[  100.425097] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 6ms=
 in
mpc1_assert_idle_mpcc line:103
[  100.441735] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms=
 in
mpc1_assert_idle_mpcc line:103
[  104.509792] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u=
s *
3000 tries - enc1_stream_encoder_dp_blank line:804
[  104.509841] WARNING: CPU: 1 PID: 1550 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[  104.509895] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[  104.517863] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms=
 in
optc1_disable_crtc line:513
[  108.605859] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u=
s *
3000 tries - enc1_stream_encoder_dp_blank line:804
[  108.605909] WARNING: CPU: 2 PID: 1550 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[  108.605964] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[  108.610990] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms=
 in
optc1_disable_crtc line:513
[  110.529644] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms=
 in
optc1_wait_for_state line:782
[  110.536052] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms=
 in
optc1_wait_for_state line:782
[  115.561370] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms=
 in
mpc1_assert_idle_mpcc line:103
[  115.578008] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms=
 in
mpc1_assert_idle_mpcc line:103
[  115.686970] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u=
s *
3000 tries - enc1_stream_encoder_dp_blank line:804
[  115.687021] WARNING: CPU: 3 PID: 48 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[  115.687079] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[  115.694125] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms=
 in
optc1_disable_crtc line:513
[  115.737576] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u=
s *
3000 tries - enc1_stream_encoder_dp_blank line:804
[  115.737626] WARNING: CPU: 3 PID: 48 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[  115.737678] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[  115.744042] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms=
 in
optc1_disable_crtc line:513
[  116.250536] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 1ms=
 in
optc1_wait_for_state line:782
[  116.267508] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms=
 in
mpc1_assert_idle_mpcc line:103
[  256.781411] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms=
 in
mpc1_assert_idle_mpcc line:103
[  256.798049] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 7ms=
 in
mpc1_assert_idle_mpcc line:103
[  256.830971] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 3ms=
 in
optc1_disable_crtc line:513
[  256.864242] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 5ms=
 in
optc1_disable_crtc line:513
[  260.684885] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 2ms=
 in
optc1_wait_for_state line:782
[  260.701867] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 6ms=
 in
mpc1_assert_idle_mpcc line:103


You are receiving this mail because:
  • You are the assignee for the bug.
= --15347838840.a2fA37.1411-- --===============1644566729== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1644566729==--