]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Fix SDMA engine reset logic
authorJesse.zhang@amd.com <Jesse.zhang@amd.com>
Mon, 17 Mar 2025 01:14:36 +0000 (09:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Mar 2025 18:03:47 +0000 (14:03 -0400)
commitcc63bcfd14a664a7ea78fd3c9d0014116b7e4619
tree599c224629a2df43a6e2794f6de304b1550458ce
parent1cfeb60e6e8837b1de5eb4e17df7cf31f4442144
drm/amdgpu: Fix SDMA engine reset logic

The scheduler should restart only if the reset operation
succeeds  This ensures that new tasks are only submitted
to the queues after a successful reset.

Fixes: 4c02f7301657 ("drm/amdgpu: Introduce conditional user queue suspension for SDMA resets")
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse.Zhang <Jesse.zhang@amd.com>
Reviewed-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c