aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2024-12-12 15:51:04 +0000
committerAlex Deucher <[email protected]>2024-12-18 17:39:07 +0000
commit11815bb0e30966321ff4351b55ad7b6f2e0a63bf (patch)
tree436e644e43222efc65c582ae8a564a259edb93ff /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: set the VM pointer to NULL in amdgpu_job_prepare (diff)
downloadkernel-11815bb0e30966321ff4351b55ad7b6f2e0a63bf.tar.gz
kernel-11815bb0e30966321ff4351b55ad7b6f2e0a63bf.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 9f5351c013ff..69895fccb474 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1175,7 +1175,6 @@ struct amdgpu_device {
struct work_struct reset_work;
- bool job_hang;
bool dc_enabled;
/* Mask of active clusters */
uint32_t aid_mask;