On 10/08/16 01:39 PM, Qu, Jim wrote: > HI Michel: > > 1. So far, I not sure which one causes the console_lock() fail, maybe I > need enable kernel mutex debug feature to trace it. Or, maybe you can just try fixing the cases in amdgpu_resume_kms where console_unlock() isn't called, and see if that fixes the problem? > 2. Phenomenally, it can be restore to desktop normally. Do you know > any methods to check it whether driver without calling > amdgpu_fbdev_set_suspend(adev, 0) has side effect or not? Does VT switching to console with Ctrl-Alt-Fx work? Does logging into the console and interacting with the shell work? -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer