https://bugs.freedesktop.org/show_bug.cgi?id=41366
Summary: HDMI on a Fusion board only comes up when LVDS is already enabled Product: DRI Version: XOrg CVS Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: simon.farnsworth@onelan.co.uk
I'm running airlied's drm-fixes, git revision fdfc61594e6de21c23f955818ef78bcab9bafe40, and experiencing "interesting" times trying to get HDMI to work on a Fusion GPU (detected by X as [ 49.876] (--) RADEON(0): Chipset: "AMD Radeon HD 6310 Graphics" (ChipID = 0x9802)).
If I run: xrandr --output HDMI-0 --off xrandr --output LVDS --auto xrandr --output HDMI-0 --mode 1920x1200
the HDMI monitor comes up at 1920x1200
If I run: xrandr --output HDMI-0 --off xrandr --output LVDS --off xrandr --output HDMI-0 --mode 1920x1200
the HDMI monitor immediately enters DPMS Off state, and stays there.
I've confirmed with "grep . /sys/class/drm/card0-HDMI-A-1/*" that the kernel thinks the HDMI connector is switched on. The only difference I can see is that HDMI works when it gets CRTC 1, but not when it gets CRTC 0.
I have captured logs from the kernel with drm.debug=0x6 during the runs, in case that explains what's going on; I will attach them to this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #1 from Simon Farnsworth simon.farnsworth@onelan.co.uk 2011-09-30 10:13:00 PDT --- Created an attachment (id=51804) --> (https://bugs.freedesktop.org/attachment.cgi?id=51804) dmesg showing the modeset that results in HDMI being off unexpectedly
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #2 from Simon Farnsworth simon.farnsworth@onelan.co.uk 2011-09-30 10:13:24 PDT --- Created an attachment (id=51805) --> (https://bugs.freedesktop.org/attachment.cgi?id=51805) dmesg showing the modeset that results in HDMI working
https://bugs.freedesktop.org/show_bug.cgi?id=41366
Simon Farnsworth simon.farnsworth@onelan.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|HDMI on a Fusion board only |[r600 KMS] HDMI on a Fusion |comes up when LVDS is |board only comes up when |already enabled |LVDS is already enabled
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #3 from Alex Deucher agd5f@yahoo.com 2011-10-05 15:08:22 PDT --- Strange, everything looks correct. I'll dig into it. Manually specifying the crtc seems to work, e.g.,
xrandr --output HDMI-0 --mode 1920x1200 --crtc 1 xrandr --output HDMI-0 --mode 1920x1200 --crtc 0
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #4 from Alex Deucher agd5f@yahoo.com 2011-10-05 15:35:55 PDT --- Created an attachment (id=52024) View: https://bugs.freedesktop.org/attachment.cgi?id=52024 Review: https://bugs.freedesktop.org/review?bug=41366&attachment=52024
use hardcoded dig encoder to transmitter mapping
This patch fixes the issue for me.
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #5 from Simon Farnsworth simon.farnsworth@onelan.co.uk 2011-10-06 03:10:23 PDT --- Tested the patch - it works for me.
https://bugs.freedesktop.org/show_bug.cgi?id=41366
--- Comment #6 from Florian Mickler florian@mickler.org 2012-01-12 14:46:12 PST --- A patch referencing this bug report has been merged in Linux v3.1-rc10:
commit cb7cf41961fe10773c491c75ae73539ad4bbed66 Author: Alex Deucher alexander.deucher@amd.com Date: Wed Oct 5 18:36:50 2011 -0400
drm/radeon/kms: use hardcoded dig encoder to transmitter mapping for DCE4.1
https://bugs.freedesktop.org/show_bug.cgi?id=41366
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #7 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/213.
dri-devel@lists.freedesktop.org