[AMD Official Use Only] Thanks Boris. There is another thing which needs your help. The change of bf756fb833cb was introduced to fix the bug below: "some hangs observed on suspending when UVD/VCE still using". So, I need your help to confirm the last two patches(I sent you) do not affect the fix for the bug above. Please follow the steps below to verify it: 1. Launch a video playing 2. open another terminal and issue "sudo pm-suspend" command to force suspending 3. verify the system can suspend and resume back correctly without errors or hangs BR Evan > -----Original Message----- > From: Borislav Petkov <bp@xxxxxxxxx> > Sent: Tuesday, October 12, 2021 1:09 AM > To: Quan, Evan <Evan.Quan@xxxxxxx> > Cc: Alex Deucher <alexdeucher@xxxxxxxxx>; amd-gfx list <amd- > gfx@xxxxxxxxxxxxxxxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>; Deucher, > Alexander <Alexander.Deucher@xxxxxxx>; Pan, Xinhui > <Xinhui.Pan@xxxxxxx>; Chen, Guchun <Guchun.Chen@xxxxxxx> > Subject: Re: bf756fb833cb ("drm/amdgpu: add missing cleanups for Polaris12 > UVD/VCE on suspend") > > On Mon, Oct 11, 2021 at 08:03:51AM +0000, Quan, Evan wrote: > > OK... Then forget about previous patches. Let's try to narrow down the > > issue first. Please try the attached patch1 first. If it works, > > It does. > > > please undo the changes of patch1 and try patch2 to narrow down further. > > It does too. > > :-) > > Thx. > > -- > Regards/Gruss, > Boris. > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpeo > ple.kernel.org%2Ftglx%2Fnotes-about- > netiquette&data=04%7C01%7CEvan.Quan%40amd.com%7C7d523770cb > a84f8d23a108d98cd9c5c0%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C > 0%7C637695689245101874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj > AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000& > sdata=TVYDHI74dYSJl68Z3ZjypBhr6jDYAIUgsMQcoreQrhk%3D&reserve > d=0