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.
Created attachment 51804 [details] dmesg showing the modeset that results in HDMI being off unexpectedly
Created attachment 51805 [details] dmesg showing the modeset that results in HDMI working
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
Created attachment 52024 [details] [review] use hardcoded dig encoder to transmitter mapping This patch fixes the issue for me.
Tested the patch - it works for me.
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
-- 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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.