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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux