]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: partially revert "reduce reset time"
authorChristian König <christian.koenig@amd.com>
Thu, 12 Dec 2024 15:51:04 +0000 (16:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:39:07 +0000 (12:39 -0500)
commit11815bb0e30966321ff4351b55ad7b6f2e0a63bf
tree436e644e43222efc65c582ae8a564a259edb93ff
parent26c95e838e6301b0230430ec2fadeabfcb07aeda
drm/amdgpu: partially revert "reduce reset time"

This partially reverts commit 194eb174cbe4fe2b3376ac30acca2dc8c8beca00.

This commit introduced a new state variable into adev without even
remotely worrying about CPU barriers.

Since we already have the amdgpu_in_reset() function exactly for this
use case partially revert that.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c