Bug 56041

Summary: Disabling LCD on ARUBA causes hotplug loop
Product: Drivers Reporter: Thomas J. Moore (darktjm)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Possible fix

Description Thomas J. Moore 2013-04-01 01:04:06 UTC
My hardware:  a Gateway/Acer laptop with Radeon HD 7640G.  Disabling the LCD (xrandr --output eDP --off) while the external display is being used causes some sort of hotplug event loop.  100% of one CPU's worth of CPU time is consumed, and X freezes every few seconds.  For now, I have worked around by commenting out "queue_hotplug = true" in evergreen.c (case 0).
Comment 1 Alex Deucher 2013-04-11 16:47:24 UTC
Created attachment 98191 [details]
Possible fix

Does the attached kernel patch help?
Comment 2 Alex Deucher 2013-04-11 16:48:10 UTC
Make sure you power off your system completely before testing to make sure there are no residual register values.
Comment 3 Thomas J. Moore 2013-04-12 03:43:14 UTC
Yes, that seems to have fixed it.  Thanks.