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

2016-08-14 Thread Qu, Jim
发件人: 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() > --switc

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

2016-08-14 Thread Qu, Jim
___ > 发件人: Michel Dänzer <mic...@daenzer.net> > 发送时间: 2016年8月10日 14:54:48 > 收件人: Qu, Jim > 抄送: amd-gfx@lists.freedesktop.org > 主题: Re: 答复: [PATCH] drm/amd/amdgpu: S3 resume fail > > On 10/08/16 01:39 PM, Qu, Jim wrote: >> HI Michel:

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

2016-08-13 Thread Christian König
net> 发送时间: 2016年8月10日 14:54:48 收件人: Qu, Jim 抄送: amd-gfx@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

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

2016-08-13 Thread Qu, Jim
net> 发送时间: 2016年8月10日 14:54:48 收件人: Qu, Jim 抄送: amd-gfx@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 m

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

2016-08-10 Thread Michel Dänzer
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

Re: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-09 Thread Michel Dänzer
On 10/08/16 12:24 PM, Michel Dänzer wrote: > On 10/08/16 12:04 PM, jimqu wrote: >> Doing S3 stress test, sometimes, driver can not get console lock. So use >> console_trylock() to instead it. > > This raises some questions: > > >> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >>

Re: [PATCH] drm/amd/amdgpu: S3 resume fail

2016-08-09 Thread Michel Dänzer
On 10/08/16 12:04 PM, jimqu wrote: > Doing S3 stress test, sometimes, driver can not get console lock. So use > console_trylock() to instead it. This raises some questions: > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index

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

2016-08-09 Thread jimqu
Doing S3 stress test, sometimes, driver can not get console lock. So use console_trylock() to instead it. Change-Id: I50177f3d7dbb923cb4f602a11ea51c397b12b3e6 Signed-off-by: JimQu --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 ++--- 1 file changed, 2 insertions(+), 3