summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-05-07 18:17:55 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-05-08 14:32:16 -0400
commit85625e64295079525e5f841b576f9ab71d2c6237 (patch)
tree1e264515d6f458ec93569d6b58f60222664d16ae /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent890900fe77b1321078c6d2e038e4150f06c16698 (diff)
drm/amdgpu: enable hibernate support on Navi1X
BACO is needed to support hibernate on Navi1X. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index c42b3dccfcb6..4a03a24348f4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -958,6 +958,7 @@ struct amdgpu_device {
/* s3/s4 mask */
bool in_suspend;
+ bool in_hibernate;
bool in_gpu_reset;
enum pp_mp1_state mp1_state;