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 <michel at daenzer.net> å??é??æ?¶é?´: 2016å¹´8æ??15æ?¥ 8:44:29 æ?¶ä»¶äºº: Qu, Jim æ??é??: amd-gfx at 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