From: bugzilla-daemon@freedesktop.org Subject: [Bug 101499] Black screen when detaching HDMI cable (AMD A10-9620P) Date: Wed, 21 Jun 2017 15:28:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1073320480==" 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 B459C89CF7 for ; Wed, 21 Jun 2017 15:28:47 +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 --===============1073320480== Content-Type: multipart/alternative; boundary="14980589270.eAB0f7.21631"; charset="UTF-8" --14980589270.eAB0f7.21631 Date: Wed, 21 Jun 2017 15:28:47 +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=3D101499 --- Comment #15 from Carlo Caione --- Created attachment 132118 --> https://bugs.freedesktop.org/attachment.cgi?id=3D132118&action=3Dedit journal_HDMI_detaching_corruption > Without seeing the corresponding Xorg log, I guess that's just > a different symptom triggered by the same issue. Attached the log. Yeah, not much different. > With an amd-staging-* kernel branch and DC enabled, you can try tweaking > dce_v11_0_crtc_do_set_base to pass AMDGPU_GEM_DOMAIN_GTT instead of / in > addition to AMDGPU_GEM_DOMAIN_VRAM to amdgpu_bo_pin. The DC code should > already handle this correctly, but we're not sure whether or not there are > additional constraints on system memory used for scanout. If there are, it > probably won't work correctly yet. I tried amd-staging-4.11 and interestingly dce_v11_0_crtc_do_set_base is ca= lled only when DC is disabled. When DRM_AMD_DC=3Dy the function is never called. I tried also to make the s/AMDGPU_GEM_DOMAIN_VRAM/AMDGPU_GEM_DOMAIN_GTT/ ch= ange with DC disabled. What I get is that I have some kind of intermittent displ= ay corruption when _connecting_ the HDMI cable on both the screens but on detaching at least everything is fine on the laptop panel. --=20 You are receiving this mail because: You are the assignee for the bug.= --14980589270.eAB0f7.21631 Date: Wed, 21 Jun 2017 15:28:47 +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 # 15 on bug 10149= 9 from = Carlo Caione
Created attach=
ment 132118 [details]
journal_HDMI_detaching_corruption

> Without seeing the corresponding Xorg log, I gue=
ss that's just
> a different symptom triggered by the same issue.
Attached the log. Yeah, not much different.

> With an amd-staging-* kernel branch and DC enabl=
ed, you can try tweaking
> dce_v11_0_crtc_do_set_base to pass AMDGPU_GEM_DOMAIN_GTT instead of / =
in
> addition to AMDGPU_GEM_DOMAIN_VRAM to amdgpu_bo_pin. The DC code should
> already handle this correctly, but we're not sure whether or not there=
 are
> additional constraints on system memory used for scanout. If there are=
, it
> probably won't work correctly yet.
I tried amd-staging-4.11 and interestingly dce_v11_0_crtc_do_set_base is ca=
lled
only when DC is disabled. When DRM_AMD_DC=3Dy the function is never called.

I tried also to make the s/AMDGPU_GEM_DOMAIN_VRAM/AMDGPU_GEM_DOMAIN_GTT/ ch=
ange
with DC disabled. What I get is that I have some kind of intermittent displ=
ay
corruption when _connecting_ the HDMI cable on both the screens but on
detaching at least everything is fine on the laptop panel.


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