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

Qu, Jim Jim.Qu at amd.com
Sat Aug 13 06:56:47 UTC 2016


Hi Michel:

1. add console_unlock() in fail case
------issue also can be observed.
2. with console_trylock()
------switch VT is no problem.
------log into console and interact with shell are no problem.


Thanks
JimQu

________________________________________
发件人: Michel Dänzer <michel at daenzer.net>
发送时间: 2016年8月10日 14:54:48
收件人: Qu, Jim
抄送: amd-gfx at lists.freedesktop.org
主题: Re: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail

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


More information about the amd-gfx mailing list