diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-11-02 13:35:15 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-11 10:21:01 -0500 |
commit | 801caaf66309fdd084fc170dc1bea5140389747a (patch) | |
tree | 3bb1778adbc92d09ea53466943b99e3df8eabe35 /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | |
parent | 55ff54837845ddb5387e70b0ae1231e499b85c69 (diff) | |
download | op-kernel-dev-801caaf66309fdd084fc170dc1bea5140389747a.zip op-kernel-dev-801caaf66309fdd084fc170dc1bea5140389747a.tar.gz |
drm/amdgpu: use mask bit for deep sleep feature on dpm.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-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_dpm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h index e45bd05..955d6f2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h @@ -52,6 +52,8 @@ enum amdgpu_dpm_event_src { AMDGPU_DPM_EVENT_SRC_DIGIAL_OR_EXTERNAL = 4 }; +#define SCLK_DEEP_SLEEP_MASK 0x8 + struct amdgpu_ps { u32 caps; /* vbios flags */ u32 class; /* vbios flags */ |