https://bugs.freedesktop.org/show_bug.cgi?id=101976
--- Comment #13 from Pablo Estigarribia pablodav@gmail.com --- (In reply to Marcelo "Marc" Ranolfi from comment #12)
Kudos for your findings, Pablo Estigarribia.
I made a workaround available in the form of setting DPM to "Low" on system start and calling a script when you need to set it to "High". They can be found at https://gitlab.com/snippets/1709853 and https://gitlab.com/snippets/1709854.
I'm against disabling DPM altogether from the kernel driver code. That'd be far from ideal.
Thanks Marc!
Is great to have some feedback now.
After looking again into the files of the card0, I have noticed that dpm is enabled by default! (I have been confused because the file changed its place).
Now it is here:
cat /sys/class/drm/card0/power/control auto
uname -a Linux powers11 4.16.1-300.fc28.x86_64 #1 SMP Mon Apr 9 15:29:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Also their outpus have same files:
/sys/class/drm/card0/ card0-DP-1/ card0-HDMI-A-1/ device/ subsystem/ card0-DVI-D-1/ dev power/ uevent
So it is really fixed for fedora 28!! (kernel 4.16.x)
I have been using this for weeks and not noticed this bug!
Also tested glmark2 and some game just to see if something crashes.