https://bugs.freedesktop.org/show_bug.cgi?id=97500
--- Comment #9 from Nick Sarnie commendsarnex@gmail.com --- (In reply to Grazvydas Ignotas from comment #8)
Finally it's behaving properly for me when using today's drm-next-4.10-wip branch with this patch on top: https://lists.freedesktop.org/archives/amd-gfx/2016-October/003141.html
I can confirm that GPU unbinding works as expected with this setup. I'm getting constant GPU hangs and weird behavior when using my Intel GPU, but I can't imagine it's related to these changes.
Great work, Sarnex