All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108139] My HDMI stopped working at Linux 4.18.8
@ 2018-10-03  2:32 bugzilla-daemon
  2018-10-03  2:33 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-03  2:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2623 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

            Bug ID: 108139
           Summary: My HDMI stopped working at Linux 4.18.8
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: duncan_roe@optusnet.com.au

At Linux 4.18.8 the HDMI monitor started to report "No Signal" although Xorg
can see a screen when it's started.(There's no signal with or without X).
Using bisection, I found the change that caused this is commit to be
691f2d763d0731224439686ecf2d440df8fe910e:

+++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
@@ -808,6 +808,24 @@ static enum bp_result transmitter_control_v1_5(
         * (=1: 8bpp, =1.25: 10bpp, =1.5:12bpp, =2: 16bpp)
         * LVDS mode: usPixelClock = pixel clock
         */
+       if  (cntl->signal == SIGNAL_TYPE_HDMI_TYPE_A) {
+               switch (cntl->color_depth) {
+               case COLOR_DEPTH_101010:
+                       params.usSymClock =
+                               cpu_to_le16((le16_to_cpu(params.usSymClock) *
30) / 24);
+                       break;
+               case COLOR_DEPTH_121212:
+                       params.usSymClock =
+                               cpu_to_le16((le16_to_cpu(params.usSymClock) *
36) / 24);
+                       break;
+               case COLOR_DEPTH_161616:
+                       params.usSymClock =
+                               cpu_to_le16((le16_to_cpu(params.usSymClock) *
48) / 24);
+                       break;
+               default:
+                       break;
+               }
+       }

        if (EXEC_BIOS_CMD_TABLE(UNIPHYTransmitterControl, params))
                result = BP_RESULT_OK;

Inserted printk stmts showed my monitor reports COLOR_DEPTH_121212. I suspect
the clock speed is too high for the video card, so the code needs to check the
card model before bumping the speed, but I don't know how to do that.
Here are all the details I an think of:
Video card (from lspci): VGA compatible controller:
Advanced Micro Devices, Inc. [AMD/ATI] Radeon R2 Graphics (rev ea)
Monitor (from /var/log/Xorg.0.log): Monitor name: DELL U2711
Ranges: V min: 49 V max: 86 Hz, H min: 29 H max: 113 kHz, PixClock max 285 MHz
Hardware name (from /var/log/debug):
HP HP Laptop 15-bw0xx/8330, BIOS F.11 07/05/2017

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
@ 2018-10-03  2:33 ` bugzilla-daemon
  2018-10-09 13:00 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-03  2:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #1 from Duncan Roe <duncan_roe@optusnet.com.au> ---
Still need to pull the patch at 4.18.11

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1007 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
  2018-10-03  2:33 ` bugzilla-daemon
@ 2018-10-09 13:00 ` bugzilla-daemon
  2018-10-09 20:52 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-09 13:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #2 from Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> ---
Do you mind posting a full dmesg log for your 4.18 kernel? It would probably
help to have drm.debug=4 in your boot parameters as well for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1132 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
  2018-10-03  2:33 ` bugzilla-daemon
  2018-10-09 13:00 ` bugzilla-daemon
@ 2018-10-09 20:52 ` bugzilla-daemon
  2018-11-03  9:08 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-09 20:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 360 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #3 from Duncan Roe <duncan_roe@optusnet.com.au> ---
Created attachment 141963
  --> https://bugs.freedesktop.org/attachment.cgi?id=141963&action=edit
dmesg output as requested

Added dmesg output as requested

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-10-09 20:52 ` bugzilla-daemon
@ 2018-11-03  9:08 ` bugzilla-daemon
  2018-11-05 19:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-03  9:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 428 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #4 from Duncan Roe <duncan_roe@optusnet.com.au> ---
commit 691f2d763d0731224439686ecf2d440df8fe910e is on branch linux-4.18.y of
git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git. It was merged into
branch master as part of commit 54dbe75bbf1e189982516de179147208e90b5e45

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1196 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-11-03  9:08 ` bugzilla-daemon
@ 2018-11-05 19:23 ` bugzilla-daemon
  2018-11-06  9:28 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-05 19:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Nicholas Kazlauskas from comment #2)
> Do you mind posting a full dmesg log for your 4.18 kernel? It would probably
> help to have drm.debug=4 in your boot parameters as well for this.

Is deep color support on Stoney limited?  IIRC, there were some limitations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1315 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-11-05 19:23 ` bugzilla-daemon
@ 2018-11-06  9:28 ` bugzilla-daemon
  2018-11-06  9:42 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-06  9:28 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #6 from Duncan Roe <duncan_roe@optusnet.com.au> ---
Created attachment 142387
  --> https://bugs.freedesktop.org/attachment.cgi?id=142387&action=edit
Current work-around patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1321 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-11-06  9:28 ` bugzilla-daemon
@ 2018-11-06  9:42 ` bugzilla-daemon
  2018-11-06  9:45 ` bugzilla-daemon
  2019-08-05  8:03 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-06  9:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #7 from Duncan Roe <duncan_roe@optusnet.com.au> ---
I am currently running Linux 4.19.1 with  Attachment 142387 and not seeing the
problem. Might it be possible to instead use an approach like Attachment 142350
to Bug 108139 to conditionally obey this code instead of removing it?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1802 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-11-06  9:42 ` bugzilla-daemon
@ 2018-11-06  9:45 ` bugzilla-daemon
  2019-08-05  8:03 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-06  9:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

--- Comment #8 from Duncan Roe <duncan_roe@optusnet.com.au> ---
I am currently running Linux 4.19.1 with  Attachment 142387 and not seeing the
problem. Might it be possible to instead use an approach like Attachment 142350
to Bug 108577 to conditionally obey this code instead of removing it?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1829 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 108139] My HDMI stopped working at Linux 4.18.8
  2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-11-06  9:45 ` bugzilla-daemon
@ 2019-08-05  8:03 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-08-05  8:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=108139

Duncan Roe <duncan_roe@optusnet.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Duncan Roe <duncan_roe@optusnet.com.au> ---
Since Linux 5.1, I do not see this bug any more.
So I guess it is "fixed".

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2068 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-08-05  8:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03  2:32 [Bug 108139] My HDMI stopped working at Linux 4.18.8 bugzilla-daemon
2018-10-03  2:33 ` bugzilla-daemon
2018-10-09 13:00 ` bugzilla-daemon
2018-10-09 20:52 ` bugzilla-daemon
2018-11-03  9:08 ` bugzilla-daemon
2018-11-05 19:23 ` bugzilla-daemon
2018-11-06  9:28 ` bugzilla-daemon
2018-11-06  9:42 ` bugzilla-daemon
2018-11-06  9:45 ` bugzilla-daemon
2019-08-05  8:03 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.