From: bugzilla-daemon@freedesktop.org Subject: [Bug 109246] HDMI connected monitors fail to sleep and instead turn back on when amdgpu.dc=1 Date: Tue, 08 Jan 2019 20:20:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1722840193==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BFDCA6EB9D for ; Tue, 8 Jan 2019 20:20:56 +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 --===============1722840193== Content-Type: multipart/alternative; boundary="15469788561.A8660.32482" Content-Transfer-Encoding: 7bit --15469788561.A8660.32482 Date: Tue, 8 Jan 2019 20:20:56 +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=3D109246 --- Comment #10 from Alex Deucher --- (In reply to Michel D=C3=A4nzer from comment #8) >=20 > This does look like there are hotplug events, and the HDMI output is > considered disconnected for a moment. When the monitor enters dpms, it starts polling inputs so it can light up whatever input gets connected without the user having to manually select the input. This can cause havoc with drivers sometimes. >=20 > (In reply to Alex Deucher from comment #5) > > Some monitors poll inputs which sometimes causes the hpd pin to fire wh= ich > > looks like a hotplug event to the driver. >=20 > Any idea why this seems to only cause trouble with DC though? DC handles both short and long pulses while I think the non-DC code only handles long pulses. IIRC, the only difference is the length of the pulse = and I think the register values used to determine the pulse length are tuned slightly differently in DC to deal with other problematic monitors. I susp= ect tuning those settings would fix the issue, but I don't know if it would bre= ak other things. --=20 You are receiving this mail because: You are the assignee for the bug.= --15469788561.A8660.32482 Date: Tue, 8 Jan 2019 20:20:56 +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

Comme= nt # 10 on bug 10924= 6 from Alex Deucher
(In reply to Michel D=C3=A4nzer from comment #8)
>=20
> This does look like there are hotplug events, and the HDMI output is
> considered disconnected for a moment.

When the monitor enters dpms, it starts polling inputs so it can light up
whatever input gets connected without the user having to manually select the
input.  This can cause havoc with drivers sometimes.

>=20
> (In reply to Alex Deucher from comment #5)
> > Some monitors poll inputs which sometimes causes the hpd pin to f=
ire which
> > looks like a hotplug event to the driver.
>=20
> Any idea why this seems to only cause trouble with DC though?

DC handles both short and long pulses while I think the non-DC code only
handles long pulses.  IIRC, the only difference is the length of the pulse =
and
I think the register values used to determine the pulse length are tuned
slightly differently in DC to deal with other problematic monitors.  I susp=
ect
tuning those settings would fix the issue, but I don't know if it would bre=
ak
other things.


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