[PATCH] drm/amdgpu: stop scheduler when calling hw_fini (v2)

2021-08-29 Thread Guchun Chen
This gurantees no more work on the ring can be submitted to hardware in suspend/resume case, otherwise a potential race will occur and the ring will get no chance to stay empty before suspend. v2: Call drm_sched_resubmit_job before drm_sched_start to restart jobs from the pending list. Suggested-

Re: [PATCH] drm/amdgpu: stop scheduler when calling hw_fini (v2)

2021-08-29 Thread Christian König
Am 30.08.21 um 08:08 schrieb Guchun Chen: This gurantees no more work on the ring can be submitted to hardware in suspend/resume case, otherwise a potential race will occur and the ring will get no chance to stay empty before suspend. v2: Call drm_sched_resubmit_job before drm_sched_start to res

RE: [PATCH] drm/amd/amdgpu: add mpio to ras block

2021-08-29 Thread Clements, John
[AMD Official Use Only] Reviewed-by: John Clements -Original Message- From: Li, Candice Sent: Monday, August 30, 2021 10:39 AM To: amd-gfx@lists.freedesktop.org Cc: Clements, John ; Li, Candice Subject: [PATCH] drm/amd/amdgpu: add mpio to ras block Add MPIO to RAS block Signed-off-b

RE: [PATCH] drm/amdgpu: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-08-29 Thread Quan, Evan
[AMD Official Use Only] Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Cai > Huoqing > Sent: Saturday, August 28, 2021 4:41 PM > To: Deucher, Alexander ; Koenig, Christian > ; Pan, Xinhui ; > airl...@linux.ie; dan...@ffwll.ch > Cc: amd-gfx@lists.freedesktop.org

RE: [PATCH] drm/amd/amdgpu: consolidate PSP TA unload function

2021-08-29 Thread Clements, John
[AMD Official Use Only] Reviewed-by: John Clements -Original Message- From: Li, Candice Sent: Friday, August 27, 2021 5:44 PM To: amd-gfx@lists.freedesktop.org Cc: Clements, John ; Li, Candice Subject: [PATCH] drm/amd/amdgpu: consolidate PSP TA unload function Create common PSP TA un

[PATCH] drm/amd/amdgpu: add mpio to ras block

2021-08-29 Thread Candice Li
Add MPIO to RAS block Signed-off-by: Candice Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 ++ drivers/gpu/drm/amd/amdgpu/ta_ras_if.h | 1 + 3 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/

RE: [PATCH] drm/amdgpu: stop scheduler when calling hw_fini

2021-08-29 Thread Chen, Guchun
[Public] Hi Andrey and Christian, Thanks for your comment, I will send out a new patch set later on after I verify it. Regards, Guchun -Original Message- From: Grodzovsky, Andrey Sent: Saturday, August 28, 2021 2:28 AM To: Koenig, Christian ; Chen, Guchun ; amd-gfx@lists.freedesktop