Re: [PATCH v2] drm/amdgpu: Fix two reset triggered in a row

2024-04-23 Thread Christian König
Am 23.04.24 um 16:44 schrieb Yunxiang Li: Some times a hang GPU causes multiple reset source to schedule resets, if the second source schedule after we call amdgpu_device_stop_pending_resets they will be able to trigger an unnecessary reset. Move amdgpu_device_stop_pending_resets to after the re

[PATCH v2] drm/amdgpu: Fix two reset triggered in a row

2024-04-23 Thread Yunxiang Li
Some times a hang GPU causes multiple reset source to schedule resets, if the second source schedule after we call amdgpu_device_stop_pending_resets they will be able to trigger an unnecessary reset. Move amdgpu_device_stop_pending_resets to after the reset is already done, since any reset schedul