From: bugzilla-daemon@freedesktop.org Subject: [Bug 102820] [bisected][DC] commit ebbf7337e2daacacef3e01114e6be68a2a4f11b4 prevents X11 from starting Date: Tue, 20 Feb 2018 23:22:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0708668710==" 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 5578D6EFFA for ; Tue, 20 Feb 2018 23:22: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 --===============0708668710== Content-Type: multipart/alternative; boundary="15191689764.83Ae.18537" Content-Transfer-Encoding: 7bit --15191689764.83Ae.18537 Date: Tue, 20 Feb 2018 23:22: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=3D102820 --- Comment #20 from dwagner --- (In reply to Harry Wentland from comment #19) > Created attachment 137476 [details] [review] > drm/amd/display: Default HDMI6G support to true. Log VBIOS table error. >=20 > Can you see if this helps? Our Windows driver definitely checks the HDMI6G > flag from VBIOS but it will default to allow 6G on HDMI if the VBIOS check > fails. >=20 > This patch is porting the same behavior in the hopes that it will help wi= th > your issue. I had to change "ctx->logger" into "enc110->base.ctx->logger" to make your patch compile (applied on today's head of amd-staging-drm-next). Yes, that patch changes the behaviour for the better: HDMI 2.0 modes - especially 4k@60Hz work fine with this patch applied on my system. Tried multiple reboots, result was consistent. > If this patch works a dmesg log with the amdgpu.dc_log=3D1 option on the > kernel would help us understand the root cause a bit better. I did enable amdgpu.dc_log=3D1 on the kernel command line - but there is no "Failed to get encoder_cap_info from VBIOS..." message visible in dmesg, wh= ich makes me wonder what makes the new code path differ from the old one. (Attaching dmesg output below.) --=20 You are receiving this mail because: You are the assignee for the bug.= --15191689764.83Ae.18537 Date: Tue, 20 Feb 2018 23:22: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 # 20 on bug 10282= 0 from dwagner
(In reply to Harry Wentland from comment #19)
> Created attachment 137476 [details] [review] [review]
> drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
>=20
> Can you see if this helps? Our Windows driver definitely checks the HD=
MI6G
> flag from VBIOS but it will default to allow 6G on HDMI if the VBIOS c=
heck
> fails.
>=20
> This patch is porting the same behavior in the hopes that it will help=
 with
> your issue.
I had to change "ctx->logger" into "enc110->base.ctx-&=
gt;logger" to make your
patch
compile (applied on today's head of amd-staging-drm-next).

Yes, that patch changes the behaviour for the better: HDMI 2.0 modes -
especially 4k@60Hz work fine with this patch applied on my system. Tried
multiple reboots, result was consistent.

> If this patch works a dmesg log with the amdgpu.=
dc_log=3D1 option on the
> kernel would help us understand the root cause a bit better.
I did enable amdgpu.dc_log=3D1 on the kernel command line - but there is no
"Failed to get encoder_cap_info from VBIOS..." message visible in=
 dmesg, which
makes me wonder what makes the new code path differ from the old one.
(Attaching dmesg output below.)


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