Bug 53657 - [radeon] LVDS does not turn back on after suspend/resume
Summary: [radeon] LVDS does not turn back on after suspend/resume
Status: RESOLVED DUPLICATE of bug 43829
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 20:21 UTC by Kenney Phillis Jr
Modified: 2012-08-17 21:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
logs related to issue (118.56 KB, application/zip)
2012-08-17 20:21 UTC, Kenney Phillis Jr
no flags Details
Fresh Radeon register dump from when xrandr can fix the issue. (131.19 KB, text/plain)
2012-08-17 21:09 UTC, Kenney Phillis Jr
no flags Details
Register dump after xrandr change. (131.19 KB, text/plain)
2012-08-17 21:10 UTC, Kenney Phillis Jr
no flags Details
Register dumps after resume. (526.21 KB, text/plain)
2012-08-17 21:16 UTC, Kenney Phillis Jr
no flags Details
kernel log with drm.debug=1 boot param set (282.24 KB, application/x-gzip)
2012-08-17 21:18 UTC, Kenney Phillis Jr
no flags Details
From a fresh Reboot where I am able to turn on/off the lvds. (50.56 KB, application/zip)
2012-08-17 21:44 UTC, Kenney Phillis Jr
no flags Details
post resume register tries. (37.47 KB, application/zip)
2012-08-17 21:46 UTC, Kenney Phillis Jr
no flags Details

Description Kenney Phillis Jr 2012-08-17 20:21:42 UTC
Created attachment 65705 [details]
logs related to issue

I am having problems with the system having the lcd panel turn back on after I suspend and resume the system... I am able to get the HDMI to work properly, however the built in lvds does not work correctly at all and this is a major problem for laptop owners.


System Details:
================================================
$ phoronix-test-suite detailed-system-info

Phoronix Test Suite v3.6.1
System Information

Hardware:
Processor: AMD A6-3400M APU @ 1.40GHz (4 Cores), Motherboard: ASUS K53TA v1.0, Chipset: AMD Family 12h Root Complex, Memory: 3584MB, Disk: 500GB Seagate ST9500325AS, Graphics: AMD nee ATI Device 9647 512MB, Audio: ATI R6xx HDMI, Monitor: Hanns.G HG281, Network: Realtek RTL8111/8168B + Atheros AR9285 Wireless

Software:
OS: LinuxMint 13, Kernel: 3.5.0-030500-generic (x86_64), Display Server: X Server 1.11.3, Display Driver: radeon 6.14.99, OpenGL: 2.1 Mesa 8.0.2 Gallium 0.4, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1920x1200


PROCESSOR:

Core Count: 4
Thread Count: 4
Cache Size: 1024 KB
Instruction Set Extensions: SSE 4a
AES Encryption: NO
Energy Performance Bias: NO
Virtualization: AMD-V
Comment 1 Alex Deucher 2012-08-17 21:08:36 UTC

*** This bug has been marked as a duplicate of bug 43829 ***
Comment 2 Kenney Phillis Jr 2012-08-17 21:09:44 UTC
Created attachment 65709 [details]
Fresh Radeon register dump from when xrandr can fix the issue.
Comment 3 Kenney Phillis Jr 2012-08-17 21:10:43 UTC
Created attachment 65710 [details]
Register dump after xrandr change.

This shows the register status after re-enabling display. This is before I attempt to suspend the machine and is when the lvds display is the only output.
Comment 4 Kenney Phillis Jr 2012-08-17 21:16:53 UTC
Created attachment 65711 [details]
Register dumps after resume.
Comment 5 Kenney Phillis Jr 2012-08-17 21:18:07 UTC
Created attachment 65712 [details]
kernel log with drm.debug=1 boot param set
Comment 6 Alex Deucher 2012-08-17 21:19:26 UTC
Your system is not dce5, it's dce4.  Can you attach the output of the display registers before and after suspend?

radeonreg regs dce4 > regs.working

suspend, resume

radeonreg regs dce4 > regs.broken

And attach the results.  You can get radeonreg here:
http://cgit.freedesktop.org/~airlied/radeontool/

Also please attach your dmesg output before and after suspend.
Comment 7 Kenney Phillis Jr 2012-08-17 21:44:07 UTC
Created attachment 65714 [details]
From a fresh Reboot where I am able to turn on/off the lvds.

The commands related to this output.
# This is on a fresh reboot. Where I have blank screen after I login after the broken suspend/resume.
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.working.borkedboot.0-initial
ken@ken-K53TA ~/tmp/radeontool $ env DISPLAY=:0 xrandr --auto
# at this point hdmi-0 returns.
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.working.borkedboot.1-hdmi-on
ken@ken-K53TA ~/tmp/radeontool $ env DISPLAY=:0 xrandr --output LVDS --off
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.working.borkedboot.2-lvds-off
ken@ken-K53TA ~/tmp/radeontool $ env DISPLAY=:0 xrandr --output LVDS --auto
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.working.borkedboot.3-lvds-auto
Comment 8 Kenney Phillis Jr 2012-08-17 21:46:46 UTC
Created attachment 65715 [details]
post resume register tries.

This is after I suspended and resumed. Please note that HDMI-0 returned automatically. 

ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.broken.0-lvds-resume
ken@ken-K53TA ~/tmp/radeontool $ env DISPLAY=:0 xrandr --output LVDS --off
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.broken.1-lvds-resume-off
ken@ken-K53TA ~/tmp/radeontool $ env DISPLAY=:0 xrandr --output LVDS --auto
ken@ken-K53TA ~/tmp/radeontool $ sudo ./radeonreg regs dce4 > regs.broken.2-lvds-resume-auto


At this point i rebooted after unplugging cable... it's an odd state to haft to login and issue xrandr over ssh but the lvds returned just like the previous entry.


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.