From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 108139] My HDMI stopped working at Linux 4.18.8
Date: Wed, 03 Oct 2018 02:32:52 +0000 [thread overview]
Message-ID: <bug-108139-502@http.bugs.freedesktop.org/> (raw)
[-- 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
next reply other threads:[~2018-10-03 2:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-03 2:32 bugzilla-daemon [this message]
2018-10-03 2:33 ` [Bug 108139] My HDMI stopped working at Linux 4.18.8 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-108139-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).