答复: 答复: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail

Qu, Jim Jim.Qu at amd.com
Mon Aug 15 01:48:52 UTC 2016


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


More information about the amd-gfx mailing list