From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Wed, 03 May 2017 19:12:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1086122888==" 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 915226E3A3 for ; Wed, 3 May 2017 19:12:30 +0000 (UTC) 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 --===============1086122888== Content-Type: multipart/alternative; boundary="14938387500.5B18b1bF3.1953"; charset="UTF-8" --14938387500.5B18b1bF3.1953 Date: Wed, 3 May 2017 19:12:30 +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=3D100919 Bug ID: 100919 Summary: "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=3D>HDMI-A cable Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: nikola.forro@gmail.com I'm using the latest code from amd-staging-4.9 branch of ~agd5f/linux. The problem is caused by this commit: https://cgit.freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-4.9&id=3D= 2b2d4cfb0a629961a44e1ea0b29d336c1336deb9 After this change, when sink_signal is DVI_DUAL_LINK but pix_clk_khz is low= er than TMDS_MAX_PIXEL_CLOCK_IN_KHZ, stream->signal is set to DVI_DUAL_LINK, w= hile previously it was being set to DVI_SINGLE_LINK. As a result, the connected display just reports "Out of range" error. --=20 You are receiving this mail because: You are the assignee for the bug.= --14938387500.5B18b1bF3.1953 Date: Wed, 3 May 2017 19:12:30 +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
Bug ID 100919
Summary "Out of range" on a display connected to a DVI-D ou= tput of RX460 card via DVI-D<=3D>HDMI-A cable
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter nikola.forro@gmail.com

I'm using the latest code from amd-staging-4.9 branch of ~agd5=
f/linux.

The problem is caused by this commit:
https://cgit.freed=
esktop.org/~agd5f/linux/commit/?h=3Damd-staging-4.9&id=3D2b2d4cfb0a6299=
61a44e1ea0b29d336c1336deb9

After this change, when sink_signal is DVI_DUAL_LINK but pix_clk_khz is low=
er
than TMDS_MAX_PIXEL_CLOCK_IN_KHZ, stream->signal is set to DVI_DUAL_LINK=
, while
previously it was being set to DVI_SINGLE_LINK.

As a result, the connected display just reports "Out of range" er=
ror.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14938387500.5B18b1bF3.1953-- --===============1086122888== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1086122888==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Mon, 08 May 2017 08:20:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1084410820==" 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 07E946E174 for ; Mon, 8 May 2017 08:20:59 +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 --===============1084410820== Content-Type: multipart/alternative; boundary="14942316590.EB6e950d5.18199"; charset="UTF-8" --14942316590.EB6e950d5.18199 Date: Mon, 8 May 2017 08:20:59 +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=3D100919 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|"Out of range" on a display |[DC] "Out of range" on a |connected to a DVI-D output |display connected to a |of RX460 card via |DVI-D output of RX460 card |DVI-D<=3D>HDMI-A cable |via DVI-D<=3D>HDMI-A cab= le --=20 You are receiving this mail because: You are the assignee for the bug.= --14942316590.EB6e950d5.18199 Date: Mon, 8 May 2017 08:20:59 +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 = Michel D=C3=A4nzer changed bug 10091= 9
What Removed Added
Summary "Out of range" on a display connected to a DVI-D o= utput of RX460 card via DVI-D<=3D>HDMI-A cable [DC] "Out of range" on a display connected to a DV= I-D output of RX460 card via DVI-D<=3D>HDMI-A cable


You are receiving this mail because:
  • You are the assignee for the bug.
= --14942316590.EB6e950d5.18199-- --===============1084410820== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1084410820==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 04:01:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1755297657==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 147BD8938C for ; Tue, 9 May 2017 04:01:37 +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 --===============1755297657== Content-Type: multipart/alternative; boundary="14943024971.7Bd91FC09.4000"; charset="UTF-8" --14943024971.7Bd91FC09.4000 Date: Tue, 9 May 2017 04:01:37 +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=3D100919 --- Comment #1 from Thomas R. --- I arrived here by way of having a similar problem and bisecting it down to = the very same commit. When running a kernel containing it, on my R9 285, modesetting on my two DVI monitors takes very long and results in a weird resolution that looks like 1920x1080 to the system and 960x1080 to the actu= al device (if its info menu can be trusted). Most other resolutions I tried fa= il with out of range. --=20 You are receiving this mail because: You are the assignee for the bug.= --14943024971.7Bd91FC09.4000 Date: Tue, 9 May 2017 04:01:37 +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 10091= 9 from Thomas R.
I arrived here by way of having a similar problem and bisectin=
g it down to the
very same commit. When running a kernel containing it, on my R9 285,
modesetting on my two DVI monitors takes very long and results in a weird
resolution that looks like 1920x1080 to the system and 960x1080 to the actu=
al
device (if its info menu can be trusted). Most other resolutions I tried fa=
il
with out of range.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943024971.7Bd91FC09.4000-- --===============1755297657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1755297657==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 04:02:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2079738253==" 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 E7E8E6E04D for ; Tue, 9 May 2017 04:02:50 +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 --===============2079738253== Content-Type: multipart/alternative; boundary="14943025702.95Ee1D.4495"; charset="UTF-8" --14943025702.95Ee1D.4495 Date: Tue, 9 May 2017 04:02:50 +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=3D100919 --- Comment #2 from Thomas R. --- Created attachment 131274 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131274&action=3Dedit Relevant dmesg --=20 You are receiving this mail because: You are the assignee for the bug.= --14943025702.95Ee1D.4495 Date: Tue, 9 May 2017 04:02:50 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943025702.95Ee1D.4495-- --===============2079738253== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2079738253==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 14:54:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0261694441==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9223089F9F for ; Tue, 9 May 2017 14:54:14 +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 --===============0261694441== Content-Type: multipart/alternative; boundary="14943416540.c2c1AA.13926"; charset="UTF-8" --14943416540.c2c1AA.13926 Date: Tue, 9 May 2017 14:54:14 +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=3D100919 --- Comment #3 from Harry Wentland --- Created attachment 131276 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131276&action=3Dedit Patch to fix this (hopefully) Hi Nikola, Thomas. Thanks for reporting this. Try this patch. I haven't been able to test it myself but it should fix thi= s. Harry --=20 You are receiving this mail because: You are the assignee for the bug.= --14943416540.c2c1AA.13926 Date: Tue, 9 May 2017 14:54:14 +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 # 3 on bug 10091= 9 from Harry Wentland
Created attachment=
 131276 [details] [review]
Patch to fix this (hopefully)

Hi Nikola, Thomas.

Thanks for reporting this.

Try this patch. I haven't been able to test it myself but it should fix thi=
s.

Harry


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943416540.c2c1AA.13926-- --===============0261694441== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0261694441==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 17:12:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1439345475==" 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 7911A6E16A for ; Tue, 9 May 2017 17:12:28 +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 --===============1439345475== Content-Type: multipart/alternative; boundary="14943499482.e4f2.32621"; charset="UTF-8" --14943499482.e4f2.32621 Date: Tue, 9 May 2017 17:12:28 +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=3D100919 --- Comment #4 from Nikola Forr=C3=B3 --- Comment on attachment 131276 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131276 Patch to fix this (hopefully) Review of attachment 131276: ----------------------------------------------------------------- ::: drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ +1268,4 @@ > stream->public.timing.pix_clk_khz > TMDS_MAX_PIXEL_CLOCK_IN_KHZ) > stream->signal =3D SIGNAL_TYPE_DVI_DUAL_LINK; > + else > + stream->signal =3D SIGNAL_TYPE_DVI_SINGLE_LINK; I don't think this is such a good idea, because AFAICS this sets stream->si= gnal to SIGNAL_TYPE_DVI_SINGLE_LINK also for all types of signal other than DVI. --=20 You are receiving this mail because: You are the assignee for the bug.= --14943499482.e4f2.32621 Date: Tue, 9 May 2017 17:12:28 +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 # 4 on bug 10091= 9 from Nikola Forr=C3=B3
Comment on attachm=
ent 131276 [details] [review]
Patch to fix this (hopefully)

Review of attachment 131276=
 [details] [review]:
-----------------------------------------------------------------

::: drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ +1268,4 @@
>  		stream->public.timing.pix_clk_khz > TMD=
S_MAX_PIXEL_CLOCK_IN_KHZ)
>  		stream->signal =3D SIGNAL_TYPE_DVI_DUAL_LINK;
> +	else
> +		stream->signal =3D SIGNAL_TYPE_DVI_SINGLE_LINK;

I don't think this is such a good idea, because AFAICS this sets stream->=
;signal
to SIGNAL_TYPE_DVI_SINGLE_LINK also for all types of signal other than DVI.=


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943499482.e4f2.32621-- --===============1439345475== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1439345475==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 17:24:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1126050797==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DB4488FFB for ; Tue, 9 May 2017 17:24:45 +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 --===============1126050797== Content-Type: multipart/alternative; boundary="14943506852.eC9Dd.2385"; charset="UTF-8" --14943506852.eC9Dd.2385 Date: Tue, 9 May 2017 17:24:45 +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=3D100919 --- Comment #5 from Harry Wentland --- Nikola, this line from the patch should take care of your concern: + if (dc_is_dvi_signal(stream->signal) && Other signal types shouldn't be affected. --=20 You are receiving this mail because: You are the assignee for the bug.= --14943506852.eC9Dd.2385 Date: Tue, 9 May 2017 17:24:45 +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 # 5 on bug 10091= 9 from Harry Wentland
Nikola, this line from the patch should take care of your conc=
ern:

+       if (dc_is_dvi_signal(stream->signal) &&

Other signal types shouldn't be affected.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943506852.eC9Dd.2385-- --===============1126050797== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1126050797==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 17:29:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0516303482==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0798089178 for ; Tue, 9 May 2017 17:29:36 +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 --===============0516303482== Content-Type: multipart/alternative; boundary="14943509760.BeC5E.2724"; charset="UTF-8" --14943509760.BeC5E.2724 Date: Tue, 9 May 2017 17:29:36 +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=3D100919 --- Comment #6 from Alex Deucher --- what about the else case? Shouldn't the logic be: if (dc_is_dvi_signal(stream->signal)) { if (stream->public.timing.pix_clk_khz > TMDS_MAX_PIXEL_CLOCK_IN_KHZ) stream->signal =3D SIGNAL_TYPE_DVI_DUAL_LINK; else stream->signal =3D SIGNAL_TYPE_DVI_SINGLE_LINK; } --=20 You are receiving this mail because: You are the assignee for the bug.= --14943509760.BeC5E.2724 Date: Tue, 9 May 2017 17:29:36 +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 # 6 on bug 10091= 9 from Alex Deucher
what about the else case?  Shouldn't the logic be:


        if (dc_is_dvi_signal(stream->signal)) {
                if (stream->public.timing.pix_clk_khz >
TMDS_MAX_PIXEL_CLOCK_IN_KHZ)
                        stream->signal =3D SIGNAL_TYPE_DVI_DUAL_LINK;
                else
                        stream->signal =3D SIGNAL_TYPE_DVI_SINGLE_LINK;
        }


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943509760.BeC5E.2724-- --===============0516303482== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0516303482==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 17:34:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1048575580==" 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 4B2CB89097 for ; Tue, 9 May 2017 17:34:52 +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 --===============1048575580== Content-Type: multipart/alternative; boundary="14943512920.057B.3863"; charset="UTF-8" --14943512920.057B.3863 Date: Tue, 9 May 2017 17:34:52 +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=3D100919 --- Comment #7 from Nikola Forr=C3=B3 --- Hi Alex, yes, that's exactly what I meant. Sorry for not being clear. Nikola --=20 You are receiving this mail because: You are the assignee for the bug.= --14943512920.057B.3863 Date: Tue, 9 May 2017 17:34:52 +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 # 7 on bug 10091= 9 from Nikola Forr=C3=B3
Hi Alex,

yes, that's exactly what I meant.
Sorry for not being clear.

Nikola


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943512920.057B.3863-- --===============1048575580== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1048575580==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 17:40:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0576896026==" 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 669B48940F for ; Tue, 9 May 2017 17:40:38 +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 --===============0576896026== Content-Type: multipart/alternative; boundary="14943516380.8FBEbAAcF.4569"; charset="UTF-8" --14943516380.8FBEbAAcF.4569 Date: Tue, 9 May 2017 17:40:38 +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=3D100919 Harry Wentland changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #131276|0 |1 is obsolete| | --- Comment #8 from Harry Wentland --- Created attachment 131279 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131279&action=3Dedit 2nd attempt at patch Thanks, Alex, Nikola, for pointing out the problem in my code. I should've looked more closely. Here's an update. --=20 You are receiving this mail because: You are the assignee for the bug.= --14943516380.8FBEbAAcF.4569 Date: Tue, 9 May 2017 17:40:38 +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 Harry Wentland changed bug 10091= 9
What Removed Added
Attachment #131276 is obsolete   1

Commen= t # 8 on bug 10091= 9 from Harry Wentland
Created attachment 131279 [details] [review]
2nd attempt at patch

Thanks, Alex, Nikola, for pointing out the problem in my code. I should've
looked more closely. Here's an update.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943516380.8FBEbAAcF.4569-- --===============0576896026== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0576896026==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 09 May 2017 18:13:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1754685975==" 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 E93916E1A1 for ; Tue, 9 May 2017 18:13:02 +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 --===============1754685975== Content-Type: multipart/alternative; boundary="14943535822.0929c.8470"; charset="UTF-8" --14943535822.0929c.8470 Date: Tue, 9 May 2017 18:13:02 +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=3D100919 --- Comment #9 from Nikola Forr=C3=B3 --- Thanks Harry, I've just tested the patch and I can confirm it fixes the problem. --=20 You are receiving this mail because: You are the assignee for the bug.= --14943535822.0929c.8470 Date: Tue, 9 May 2017 18:13:02 +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 # 9 on bug 10091= 9 from Nikola Forr=C3=B3
Thanks Harry,

I've just tested the patch and I can confirm it fixes the problem.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14943535822.0929c.8470-- --===============1754685975== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1754685975==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Fri, 26 May 2017 14:32:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1216229774==" 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 A600A6ED83 for ; Fri, 26 May 2017 14:32:32 +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 --===============1216229774== Content-Type: multipart/alternative; boundary="14958091522.c49c1d.7787"; charset="UTF-8" --14958091522.c49c1d.7787 Date: Fri, 26 May 2017 14:32:32 +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=3D100919 --- Comment #10 from Thomas R. --- Can confirm it works for me, too (although I accidentally also updated to 4= .11 while testing it, but the relevant DC code looks unchanged and the patch applied, so I presume it's responsible, not the update). Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.= --14958091522.c49c1d.7787 Date: Fri, 26 May 2017 14:32:32 +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 10091= 9 from Thomas R.
Can confirm it works for me, too (although I accidentally also=
 updated to 4.11
while testing it, but the relevant DC code looks unchanged and the patch
applied, so I presume it's responsible, not the update). Thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
= --14958091522.c49c1d.7787-- --===============1216229774== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1216229774==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Fri, 26 May 2017 14:33:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0981792944==" 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 9D85D6ED80 for ; Fri, 26 May 2017 14:33:44 +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 --===============0981792944== Content-Type: multipart/alternative; boundary="14958092240.4cA2fC.8466"; charset="UTF-8" --14958092240.4cA2fC.8466 Date: Fri, 26 May 2017 14:33:44 +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=3D100919 --- Comment #11 from Thomas R. --- Forgot to add a note: I'm not actually using HDMI or any converters, I had = this problem with going directly DVI card <-> display. --=20 You are receiving this mail because: You are the assignee for the bug.= --14958092240.4cA2fC.8466 Date: Fri, 26 May 2017 14:33:44 +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 # 11 on bug 10091= 9 from Thomas R.
Forgot to add a note: I'm not actually using HDMI or any conve=
rters, I had this
problem with going directly DVI card <-> display.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14958092240.4cA2fC.8466-- --===============0981792944== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0981792944==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Fri, 26 May 2017 15:21:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0651916388==" 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 9226B6E0DC for ; Fri, 26 May 2017 15:21:25 +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 --===============0651916388== Content-Type: multipart/alternative; boundary="14958120850.aaCd80AE.19509"; charset="UTF-8" --14958120850.aaCd80AE.19509 Date: Fri, 26 May 2017 15:21:25 +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=3D100919 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= --14958120850.aaCd80AE.19509 Date: Fri, 26 May 2017 15:21:25 +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 = Alex Deucher changed bug 10091= 9
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because:
  • You are the assignee for the bug.
= --14958120850.aaCd80AE.19509-- --===============0651916388== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0651916388==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Mon, 19 Feb 2018 07:31:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1737330316==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 34D6389FAC for ; Mon, 19 Feb 2018 07:31:25 +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 --===============1737330316== Content-Type: multipart/alternative; boundary="15190254852.9dA0B3e42.8522" Content-Transfer-Encoding: 7bit --15190254852.9dA0B3e42.8522 Date: Mon, 19 Feb 2018 07:31:25 +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=3D100919 Thomas R. changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from Thomas R. --- I finally came around to testing vanilla 4.15.4, and the problem is in ther= e, still. Also I'm having trouble translating the patch by Harry to the refact= ored code - I guess it should go into display/dc/core/dc_link.c somewhere, but I don't know where exactly, as there is no update_stream_signal() in there anymore. The closest place I found is in dc_link_detect(), but I'm uncertai= n if I should make the SINGLE or DUAL_LINK decision in there? Harry, can you look at this or do you need more info from me? --=20 You are receiving this mail because: You are the assignee for the bug.= --15190254852.9dA0B3e42.8522 Date: Mon, 19 Feb 2018 07:31:25 +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 Thomas R. changed bug 10091= 9
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Comme= nt # 12 on bug 10091= 9 from Thomas R.
I finally came around to testing vanilla 4.15.4, and the probl=
em is in there,
still. Also I'm having trouble translating the patch by Harry to the refact=
ored
code - I guess it should go into display/dc/core/dc_link.c somewhere, but I
don't know where exactly, as there is no update_stream_signal() in there
anymore. The closest place I found is in dc_link_detect(), but I'm uncertai=
n if
I should make the SINGLE or DUAL_LINK decision in there?

Harry, can you look at this or do you need more info from me?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15190254852.9dA0B3e42.8522-- --===============1737330316== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1737330316==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Tue, 20 Feb 2018 19:38:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1960508202==" 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 C6C2E6EB6A for ; Tue, 20 Feb 2018 19:38:12 +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 --===============1960508202== Content-Type: multipart/alternative; boundary="15191554921.CFFa4.12829" Content-Transfer-Encoding: 7bit --15191554921.CFFa4.12829 Date: Tue, 20 Feb 2018 19:38:12 +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=3D100919 --- Comment #13 from Harry Wentland --- Are you able to test amd-staging-drm-next (https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next)? = The issue should be fixed there and you wouldn't have to fiddle with patches. --=20 You are receiving this mail because: You are the assignee for the bug.= --15191554921.CFFa4.12829 Date: Tue, 20 Feb 2018 19:38:12 +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 # 13 on bug 10091= 9 from Harry Wentland
Are you able to test amd-staging-drm-next
(https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-dr=
m-next)? The
issue should be fixed there and you wouldn't have to fiddle with patches.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15191554921.CFFa4.12829-- --===============1960508202== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1960508202==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Mon, 26 Feb 2018 15:43:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2097086751==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CCD46E49A for ; Mon, 26 Feb 2018 15:43: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 --===============2097086751== Content-Type: multipart/alternative; boundary="15196598361.C86B.26563" Content-Transfer-Encoding: 7bit --15196598361.C86B.26563 Date: Mon, 26 Feb 2018 15:43: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=3D100919 --- Comment #14 from Thomas R. --- Harry, I tried amd-staging-drm-next and there is no corruption on the prima= ry, but my second monitor is dead. It may be something like bug #91202 or somet= hing else entirely, the dmesg output is very sparse (egrep drm|amd below). What can I do now? [ 0.583791] [drm] amdgpu kernel modesetting enabled. [ 0.583968] [drm] initializing kernel modesetting (TONGA 0x1002:0x6939 0x1043:0x0486 0x00). [ 0.584028] [drm] register mmio base: 0xFE980000 [ 0.584071] [drm] register mmio size: 262144 [ 0.584109] [drm] add ip block number 0 [ 0.584140] [drm] add ip block number 1 [ 0.584172] [drm] add ip block number 2 [ 0.584207] [drm] add ip block number 3 [ 0.584239] [drm] add ip block number 4 [ 0.584271] [drm] add ip block number 5 [ 0.584303] [drm] add ip block number 6 [ 0.584334] [drm] add ip block number 7 [ 0.584367] [drm] add ip block number 8 [ 0.584402] [drm] probing gen 2 caps for device 1002:5a16 =3D 31cd02/0 [ 0.584434] [drm] probing mlw for device 1002:5a16 =3D 31cd02 [ 0.584472] [drm] VCE enabled in physical mode [ 0.584775] amdgpu 0000:05:00.0: Invalid PCI ROM header signature: expec= ting 0xaa55, got 0xb60f [ 0.585447] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, frag= ment size is 9-bit [ 0.585490] amdgpu 0000:05:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used) [ 0.585526] amdgpu 0000:05:00.0: GTT: 1024M 0x0000000000000000 - 0x000000003FFFFFFF [ 0.585563] [drm] Detected VRAM RAM=3D2048M, BAR=3D256M [ 0.585594] [drm] RAM width 256bits GDDR5 [ 0.585843] [drm] amdgpu: 2048M of VRAM memory ready [ 0.585874] [drm] amdgpu: 3072M of GTT memory ready. [ 0.585907] [drm] GART: num cpu pages 262144, num gpu pages 262144 [ 0.586405] [drm] PCIE GART of 1024M enabled (table at 0x000000F40004000= 0). [ 0.587618] [drm] Found UVD firmware Version: 1.65 Family ID: 10 [ 0.588927] [drm] Found VCE firmware Version: 52.8 Binary ID: 3 [ 0.638265] [drm] Display Core initialized with v3.1.34! [ 0.651084] [drm] SADs count is: -2, don't need to read it [ 0.663759] [drm] SADs count is: -2, don't need to read it [ 0.663823] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 0.663879] [drm] Driver supports precise vblank timestamp query. [ 0.712563] [drm] UVD initialized successfully. [ 0.921688] [drm] VCE initialized successfully. [ 0.925673] [drm] fb mappable at 0xD0566000 [ 0.925738] [drm] vram apper at 0xD0000000 [ 0.925798] [drm] size 8294400 [ 0.925857] [drm] fb depth is 24 [ 0.925909] [drm] pitch is 7680 [ 0.926025] fbcon: amdgpudrmfb (fb0) is primary device [ 1.123458] amdgpu 0000:05:00.0: fb0: amdgpudrmfb frame buffer device [ 1.131506] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:05:00.0 on minor 0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15196598361.C86B.26563 Date: Mon, 26 Feb 2018 15:43: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 # 14 on bug 10091= 9 from Thomas R.
Harry, I tried amd-staging-drm-next and there is no corruption=
 on the primary,
but my second monitor is dead. It may be something like bug #91202 or something
else entirely, the dmesg output is very sparse (egrep drm|amd below).

What can I do now?

[    0.583791] [drm] amdgpu kernel modesetting enabled.
[    0.583968] [drm] initializing kernel modesetting (TONGA 0x1002:0x6939
0x1043:0x0486 0x00).
[    0.584028] [drm] register mmio base: 0xFE980000
[    0.584071] [drm] register mmio size: 262144
[    0.584109] [drm] add ip block number 0 <vi_common>
[    0.584140] [drm] add ip block number 1 <gmc_v8_0>
[    0.584172] [drm] add ip block number 2 <tonga_ih>
[    0.584207] [drm] add ip block number 3 <amdgpu_powerplay>
[    0.584239] [drm] add ip block number 4 <dm>
[    0.584271] [drm] add ip block number 5 <gfx_v8_0>
[    0.584303] [drm] add ip block number 6 <sdma_v3_0>
[    0.584334] [drm] add ip block number 7 <uvd_v5_0>
[    0.584367] [drm] add ip block number 8 <vce_v3_0>
[    0.584402] [drm] probing gen 2 caps for device 1002:5a16 =3D 31cd02/0
[    0.584434] [drm] probing mlw for device 1002:5a16 =3D 31cd02
[    0.584472] [drm] VCE enabled in physical mode
[    0.584775] amdgpu 0000:05:00.0: Invalid PCI ROM header signature: expec=
ting
0xaa55, got 0xb60f
[    0.585447] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, frag=
ment
size is 9-bit
[    0.585490] amdgpu 0000:05:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[    0.585526] amdgpu 0000:05:00.0: GTT: 1024M 0x0000000000000000 -
0x000000003FFFFFFF
[    0.585563] [drm] Detected VRAM RAM=3D2048M, BAR=3D256M
[    0.585594] [drm] RAM width 256bits GDDR5
[    0.585843] [drm] amdgpu: 2048M of VRAM memory ready
[    0.585874] [drm] amdgpu: 3072M of GTT memory ready.
[    0.585907] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    0.586405] [drm] PCIE GART of 1024M enabled (table at 0x000000F40004000=
0).
[    0.587618] [drm] Found UVD firmware Version: 1.65 Family ID: 10
[    0.588927] [drm] Found VCE firmware Version: 52.8 Binary ID: 3
[    0.638265] [drm] Display Core initialized with v3.1.34!
[    0.651084] [drm] SADs count is: -2, don't need to read it
[    0.663759] [drm] SADs count is: -2, don't need to read it
[    0.663823] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.663879] [drm] Driver supports precise vblank timestamp query.
[    0.712563] [drm] UVD initialized successfully.
[    0.921688] [drm] VCE initialized successfully.
[    0.925673] [drm] fb mappable at 0xD0566000
[    0.925738] [drm] vram apper at 0xD0000000
[    0.925798] [drm] size 8294400
[    0.925857] [drm] fb depth is 24
[    0.925909] [drm]    pitch is 7680
[    0.926025] fbcon: amdgpudrmfb (fb0) is primary device
[    1.123458] amdgpu 0000:05:00.0: fb0: amdgpudrmfb frame buffer device
[    1.131506] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:05:00.0 on
minor 0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15196598361.C86B.26563-- --===============2097086751== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2097086751==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Mon, 26 Feb 2018 15:50:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1436098488==" 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 3FD5A6E4B1 for ; Mon, 26 Feb 2018 15:50:30 +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 --===============1436098488== Content-Type: multipart/alternative; boundary="15196602300.7D9Be.27581" Content-Transfer-Encoding: 7bit --15196602300.7D9Be.27581 Date: Mon, 26 Feb 2018 15:50:30 +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=3D100919 --- Comment #15 from Harry Wentland --- Please open a separate ticket for the issue with amd-stg and the 2nd monito= r, including * dmesg log with amdgpu.dc_log=3D1 and drm.debug=3D0x6 kernel options * model of both monitors and how they're connected (DP, HDMI, etc... any adapter) * commit from amd-staging-drm-next being tested --=20 You are receiving this mail because: You are the assignee for the bug.= --15196602300.7D9Be.27581 Date: Mon, 26 Feb 2018 15:50:30 +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 10091= 9 from Harry Wentland
Please open a separate ticket for the issue with amd-stg and t=
he 2nd monitor,
including
* dmesg log with amdgpu.dc_log=3D1 and drm.debug=3D0x6 kernel options
* model of both monitors and how they're connected (DP, HDMI, etc... any
adapter)
* commit from amd-staging-drm-next being tested


You are receiving this mail because:
  • You are the assignee for the bug.
= --15196602300.7D9Be.27581-- --===============1436098488== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1436098488==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100919] [DC] "Out of range" on a display connected to a DVI-D output of RX460 card via DVI-D<=>HDMI-A cable Date: Fri, 09 Mar 2018 14:02:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0310407467==" 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 AFB336E2DD for ; Fri, 9 Mar 2018 14:02:17 +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 --===============0310407467== Content-Type: multipart/alternative; boundary="15206041372.aefaeE1d.12123" Content-Transfer-Encoding: 7bit --15206041372.aefaeE1d.12123 Date: Fri, 9 Mar 2018 14:02:17 +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=3D100919 Thomas R. changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #16 from Thomas R. --- Closed, creating new bug as per comment 15. --=20 You are receiving this mail because: You are the assignee for the bug.= --15206041372.aefaeE1d.12123 Date: Fri, 9 Mar 2018 14:02:17 +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 Thomas R. changed bug 10091= 9
What Removed Added
Status REOPENED RESOLVED
Resolution --- FIXED

Comme= nt # 16 on bug 10091= 9 from Thomas R.
Closed, creating new bug as per comment 15.


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