[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2019-11-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

Martin Peres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #9 from Martin Peres  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/482.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #8 from Paul Menzel  ---
(In reply to Nicholas Kazlauskas from comment #7)
> Can you clarify the problem you're observing?
> 
> Do all the displays go blank after switching inputs?

There is exactly one monitor/display.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #7 from Nicholas Kazlauskas  ---
Can you clarify the problem you're observing?

Do all the displays go blank after switching inputs?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #6 from Jerry Zuo  ---
I got it. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #5 from Jerry Zuo  ---
Thank you. You connect both HDMI and DP to UP3214 with DP1.2 enabled, switch
back and forth, and the warning is showing up. When the warning is observed, a
delay is also observed. Am I right?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #4 from Paul Menzel  ---
(In reply to Jerry Zuo from comment #3)
> Hi Paul, can you please explain what you did by "when switching the inputs
> of the monitor (two systems are connected)"?

The monitor has several inputs. Over the OSD (on-screen display) you can tell
the monitor what input signal it should display (or the monitor auto-senses it
itself). Hopefully, that makes sense.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #3 from Jerry Zuo  ---
Hi Paul, can you please explain what you did by "when switching the inputs of
the monitor (two systems are connected)"?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-09-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #2 from tomas.v...@showmax.com ---
I have (maybe?) the same issue

```
[   36.787663] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us *
3000 tries - enc1_stream_encoder_dp_blank line:800
[   36.787785] WARNING: CPU: 2 PID: 825 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[   36.787787] Modules linked in: arc4 r8822be(C) joydev mousedev wmi_bmof
hid_lenovo mac80211 snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic
snd_hda_codec_hdmi kvm_amd uvcvideo ccp snd_hda_intel videobuf2_vmalloc
videobuf2_memops kvm snd_hda_codec snd_usb_audio videobuf2_v4l2 snd_hda_core
videobuf2_common snd_usbmidi_lib irqbypass psmouse cfg80211 snd_rawmidi
snd_hwdep snd_seq_device tpm_crb videodev input_leds k10temp snd_pcm sp5100_tco
thinkpad_acpi tpm_tis i2c_piix4 media tpm_tis_core ipmi_devintf nvram snd_timer
tpm ucsi_acpi hid_generic r8169 ipmi_msghandler typec_ucsi snd mii rng_core
rfkill typec soundcore led_class wmi battery ac evdev i2c_scmi mac_hid
pcc_cpufreq acpi_cpufreq ip_tables x_tables btrfs libcrc32c crc32c_generic xor
zstd_decompress zstd_compress xxhash raid6_pq algif_skcipher
[   36.787837]  af_alg usbhid hid dm_crypt dm_mod serio_raw atkbd libps2
crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ahci
libahci aesni_intel aes_x86_64 xhci_pci crypto_simd libata cryptd ehci_pci
glue_helper xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio amdgpu
chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt
fb_sys_fops ttm drm agpgart
[   36.787870] CPU: 2 PID: 825 Comm: Xorg Tainted: G C   
4.18.6-arch1-1-ARCH #1
[   36.787871] Hardware name: LENOVO 20MUS02400/20MUS02400, BIOS R0WET34W (1.02
) 07/05/2018
[   36.787935] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[   36.787936] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50
48 c7 c7 18 0f 6f c0 e8 04 60 d8 ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48
83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f 
[   36.787973] RSP: 0018:a2548a52f800 EFLAGS: 00010297
[   36.787976] RAX:  RBX: 000a RCX:
0001
[   36.787977] RDX:  RSI: aec8051e RDI:

[   36.787978] RBP: 8ce5a5ec8c00 R08: ae2ddf70 R09:
00010200
[   36.787980] R10: 0004 R11: af404f2d R12:
0bb9
[   36.787981] R13: 58cc R14: 0001 R15:

[   36.787983] FS:  7f7cf85aee00() GS:8ce5af88()
knlGS:
[   36.787984] CS:  0010 DS:  ES:  CR0: 80050033
[   36.787986] CR2: 7f7ccf5d8600 CR3: 000816524000 CR4:
003406e0
[   36.787987] Call Trace:
[   36.788059]  enc1_stream_encoder_dp_blank+0x12c/0x1a0 [amdgpu]
[   36.788126]  core_link_disable_stream+0x54/0x220 [amdgpu]
[   36.788195]  reset_hw_ctx_wrap+0x25c/0x2a0 [amdgpu]
[   36.788260]  dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu]
[   36.788327]  ? dcn10_verify_allow_pstate_change_high+0x1d/0x240 [amdgpu]
[   36.788389]  dc_commit_state+0x2d1/0x550 [amdgpu]
[   36.788451]  ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[   36.788511]  ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[   36.788578]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[   36.788585]  ? preempt_count_add+0x68/0xa0
[   36.788590]  ? _raw_spin_lock_irq+0x1a/0x40
[   36.788592]  ? _raw_spin_unlock_irq+0x1d/0x30
[   36.788595]  ? wait_for_common+0x113/0x190
[   36.788597]  ? _raw_spin_unlock_irq+0x1d/0x30
[   36.788599]  ? wait_for_common+0x113/0x190
[   36.788610]  commit_tail+0x3d/0x70 [drm_kms_helper]
[   36.788620]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[   36.788628]  drm_atomic_helper_set_config+0x80/0x90 [drm_kms_helper]
[   36.788644]  __drm_mode_set_config_internal+0x67/0x120 [drm]
[   36.788659]  drm_mode_setcrtc+0x434/0x620 [drm]
[   36.788676]  ? drm_mode_getcrtc+0x180/0x180 [drm]
[   36.788688]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[   36.788701]  drm_ioctl+0x30e/0x3c0 [drm]
[   36.788715]  ? drm_mode_getcrtc+0x180/0x180 [drm]
[   36.788757]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[   36.788765]  do_vfs_ioctl+0xa4/0x620
[   36.788770]  ? syscall_slow_exit_work+0x19b/0x1b0
[   36.788773]  ksys_ioctl+0x60/0x90
[   36.788776]  __x64_sys_ioctl+0x16/0x20
[   36.788779]  do_syscall_64+0x5b/0x170
[   36.788782]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   36.788785] RIP: 0033:0x7f7cfbd9979b
[   36.788786] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48 
[   36.788823] RSP: 002b:7fff774dcc58 EFLAGS: 0246 ORIG_RAX:
0010
[   36.788826] RAX: ffda RBX: 7fff774dcc90 RCX:
7f7cfbd9979b
[   36.788059]  enc1_stream_encoder_dp_blank+0x12c/0x1a0 [amdgpu]

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

--- Comment #1 from Paul Menzel  ---
Created attachment 141201
  --> https://bugs.freedesktop.org/attachment.cgi?id=141201=edit
Linux 4.18+ messages with drm.debug=0xe

Here is a verbose log. I believe it’s related to DP 1.2 and the MST Dell
monitor.

[   15.113453] [drm:generic_reg_wait [amdgpu]] REG_WAIT taking a while: 24ms 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 10us *
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 10us *
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 10us *
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 10us *
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.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2018-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607

Paul Menzel  changed:

   What|Removed |Added

 CC||pmenzel+bugs.freedesktop@mo
   ||lgen.mpg.de
Summary|[drm:generic_reg_wait   |Problems with MST display
   |[amdgpu]] *ERROR* REG_WAIT  |(REG_WAIT takes a while or
   |timeout 10us * 3000 tries - |times out)
   |enc1_stream_encoder_dp_blan |
   |k line:804  |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel