aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2021-03-25 20:28:17 +0000
committerDave Airlie <[email protected]>2021-03-25 20:28:18 +0000
commit4e8d123fca536d1b55f5f9927ad9ee5a444ac41b (patch)
tree56cb460b22aab3f294655a4a25a5d971e24ebcb3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentMerge branch 'linux-5.12' of git://github.com/skeggsb/linux into drm-fixes (diff)
parentdrm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x (diff)
downloadkernel-4e8d123fca536d1b55f5f9927ad9ee5a444ac41b.tar.gz
kernel-4e8d123fca536d1b55f5f9927ad9ee5a444ac41b.zip
Merge tag 'amd-drm-fixes-5.12-2021-03-24' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
amd-drm-fixes-5.12-2021-03-24: amdgpu: - S0ix fixes - Add PCI ID - Polaris PCIe DPM fix - Display fix for high refresh rate monitors Signed-off-by: Dave Airlie <[email protected]> From: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 49267eb64302..29885febc0b0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1007,13 +1007,9 @@ struct amdgpu_device {
/* s3/s4 mask */
bool in_suspend;
- bool in_hibernate;
-
- /*
- * The combination flag in_poweroff_reboot_com used to identify the poweroff
- * and reboot opt in the s0i3 system-wide suspend.
- */
- bool in_poweroff_reboot_com;
+ bool in_s3;
+ bool in_s4;
+ bool in_s0ix;
atomic_t in_gpu_reset;
enum pp_mp1_state mp1_state;