aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorPrike Liang <[email protected]>2024-09-27 08:05:21 +0000
committerAlex Deucher <[email protected]>2024-10-28 20:39:23 +0000
commit58a8c756fc4ca243fb5c070e1b9e0970f00757d9 (patch)
tree11b7499ffa1e573fa380d792c43e4b7cd7a39654 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amd/pm: Vangogh: Fix kernel memory out of bounds write (diff)
downloadkernel-58a8c756fc4ca243fb5c070e1b9e0970f00757d9.tar.gz
kernel-58a8c756fc4ca243fb5c070e1b9e0970f00757d9.zip
drm/amdgpu: correct the S3 abort check condition
In the normal S3 entry, the TOS cycle counter is not reset during BIOS execution the _S3 method, so it doesn't determine whether the _S3 method is executed exactly. Howerver, the PM core performs the S3 suspend will set the PM_SUSPEND_FLAG_FW_RESUME bit if all the devices suspend successfully. Therefore, drivers can check the pm_suspend_global_flags bit(1) to detect the S3 suspend abort event. Fixes: 6704dbf71928 ("drm/amdgpu: update suspend status for aborting from deeper suspend") 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')
0 files changed, 0 insertions, 0 deletions