https://bugs.freedesktop.org/show_bug.cgi?id=66473
Priority: medium Bug ID: 66473 Assignee: dri-devel@lists.freedesktop.org Summary: hdmi oops with mem sleep Severity: normal Classification: Unclassified OS: Linux (All) Reporter: adf.lists@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI
Created attachment 81834 --> https://bugs.freedesktop.org/attachment.cgi?id=81834&action=edit oops hdmi
RV790 running drm-next as it was on 260613
Have used echo mem > /sys/power/state for some time now, though I don't think this is a regression - just a situation that I haven't hit before.
Haven't tested every senario but it seems that if I boot and use single DVI monitor then someone else turns on TV which is connected DVI -> hdmi then if I use mem sleep I get an oops. If the TV is on already when I boot it doesn't happen. I am not enabling the TV with xrandr as it's not me that is using it.
https://bugs.freedesktop.org/show_bug.cgi?id=66473
--- Comment #1 from Andy Furniss adf.lists@gmail.com --- It seems that this only happens on the second mem sleep - so to trigger it looks like I need to boot with tv off, turn on tv but not enaable, sleep and resume, then sleep again will give oops.
https://bugs.freedesktop.org/show_bug.cgi?id=66473
--- Comment #2 from Andy Furniss adf.lists@gmail.com --- (In reply to comment #1)
It seems that this only happens on the second mem sleep - so to trigger it looks like I need to boot with tv off, turn on tv but not enaable, sleep and resume, then sleep again will give oops.
More testing -
To trigger this I need to resume from mem sleep after hdmi device became active that wasn't active at boot.
It doesn't matter if it becomes active before I sleep of during sleep - when I come out of sleep I am then set up for the Oops.
It seems that it's fbcon and nothing to do with sleeping again - I can now trigger just by switching from X to fbcon VT.
https://bugs.freedesktop.org/show_bug.cgi?id=66473
Andy Furniss adf.lists@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|hdmi oops with mem sleep |rv790 oops when switching | |to fbcon after resume from | |sleep after hdmi became | |active.
https://bugs.freedesktop.org/show_bug.cgi?id=66473
Andy Furniss adf.lists@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME
--- Comment #3 from Andy Furniss adf.lists@gmail.com --- I can't trigger this anymore with current drm-fixes
dri-devel@lists.freedesktop.org