Hi Michel: I modify the code like as:
if (fbcon) { return 0; if (!console_trylock()) return 0; amdgpu_fbdev_set_suspend(adev, 0); console_unlock(); } Thanks JimQu ________________________________________ 发件人: Michel Dänzer <mic...@daenzer.net> 发送时间: 2016年8月15日 8:44:29 收件人: Qu, Jim 抄送: amd-gfx@lists.freedesktop.org 主题: Re: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail On 13/08/16 03:56 PM, Qu, Jim wrote: > Hi Michel: > > 2. with console_trylock() > ------switch VT is no problem. > ------log into console and interact with shell are no problem. Just to be clear, that's the case even if console_trylock() fails, and amdgpu_fbdev_set_suspend(adev, 0) isn't called? -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx