diff options
| author | Prike Liang <[email protected]> | 2024-10-14 07:25:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-28 20:40:58 +0000 |
| commit | d5e3d8a2a6cb8b8c8678e60ae8067c18ffbc2da2 (patch) | |
| tree | cf0e272900575aba3e4ab45d75c3fd7433f7b909 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amdgpu: correct the S3 abort check condition (diff) | |
| download | kernel-d5e3d8a2a6cb8b8c8678e60ae8067c18ffbc2da2.tar.gz kernel-d5e3d8a2a6cb8b8c8678e60ae8067c18ffbc2da2.zip | |
drm/amdgpu: clean up the suspend_complete
To check the status of S3 suspend completion,
use the PM core pm_suspend_global_flags bit(1)
to detect S3 abort events. Therefore, clean up
the AMDGPU driver's private flag suspend_complete.
Signed-off-by: Prike Liang <[email protected]>
Reviewed-by: Lijo Lazar <[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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3af5acff8518..607998d8b1d5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1111,8 +1111,6 @@ struct amdgpu_device { bool in_s3; bool in_s4; bool in_s0ix; - /* indicate amdgpu suspension status */ - bool suspend_complete; enum pp_mp1_state mp1_state; struct amdgpu_doorbell_index doorbell_index; |
