Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Huang Rui
On Tue, Apr 07, 2020 at 11:43:20PM +0800, Kuehling, Felix wrote: > Sorry, I missed this email thread because the subject seemed irrelevant > to me. I still don't get why this is causing a problem with > suspend/resume with video playback. > > The functions you're changing are mostly used when runn

RE: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Liang, Prike
> -Original Message- > From: Kuehling, Felix > Sent: Tuesday, April 7, 2020 11:43 PM > To: Liang, Prike ; amd-gfx@lists.freedesktop.org; > Huang, Ray > Cc: Deucher, Alexander ; Quan, Evan > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with vid

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Felix Kuehling
Sorry, I missed this email thread because the subject seemed irrelevant to me. I still don't get why this is causing a problem with suspend/resume with video playback. The functions you're changing are mostly used when running without HWS. This should only be the case during bring-ups or while deb

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Huang Rui
> > g...@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video > > playback > > > > On Tue, Apr 07, 2020 at 01:49:43PM +0800, Liang, Prike wrote: > > > > > > > -Original Message- > > >

RE: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Liang, Prike
> -Original Message- > From: Huang, Ray > Sent: Tuesday, April 7, 2020 4:03 PM > To: Liang, Prike > Cc: Deucher, Alexander ; Kuehling, Felix > ; Quan, Evan ; amd- > g...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-07 Thread Huang Rui
t; g...@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video > > playback > > > > On Fri, Apr 03, 2020 at 06:05:55PM +0800, Huang Rui wrote: > > > On Fri, Apr 03, 2020 at 05:22:28PM +0800, Liang, Prike wrote: > >

RE: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-06 Thread Liang, Prike
> -Original Message- > From: Huang, Ray > Sent: Friday, April 3, 2020 6:29 PM > To: Liang, Prike > Cc: Deucher, Alexander ; Kuehling, Felix > ; Quan, Evan ; amd- > g...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-03 Thread Huang Rui
> > > Cc: amd-gfx@lists.freedesktop.org; Quan, Evan ; > > > Deucher, Alexander ; Kuehling, Felix > > > > > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video > > > playback > > > > > > (+ Felix) > > > &g

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-03 Thread Huang Rui
; Kuehling, Felix > > > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video > > playback > > > > (+ Felix) > > > > On Fri, Apr 03, 2020 at 12:07:53PM +0800, Liang, Prike wrote: > > > The system will be hang up during S3 as SMU i

RE: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-03 Thread Liang, Prike
> -Original Message- > From: Huang, Ray > Sent: Friday, April 3, 2020 2:27 PM > To: Liang, Prike > Cc: amd-gfx@lists.freedesktop.org; Quan, Evan ; > Deucher, Alexander ; Kuehling, Felix > > Subject: Re: [PATCH] drm/amdgpu: fix gfx hang during suspe

Re: [PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-02 Thread Huang Rui
(+ Felix) On Fri, Apr 03, 2020 at 12:07:53PM +0800, Liang, Prike wrote: > The system will be hang up during S3 as SMU is pending at GC not > respose the register CP_HQD_ACTIVE access request and this issue > can be fixed by adding RLC safe mode guard before each HQD > map/unmap retrive opt. We ne

[PATCH] drm/amdgpu: fix gfx hang during suspend with video playback

2020-04-02 Thread Prike Liang
The system will be hang up during S3 as SMU is pending at GC not respose the register CP_HQD_ACTIVE access request and this issue can be fixed by adding RLC safe mode guard before each HQD map/unmap retrive opt. Signed-off-by: Prike Liang Tested-by: Mengbing Wang --- drivers/gpu/drm/amd/amdgpu/