summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-03-20 12:37:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-03-25 17:00:11 -0400
commitf5cdd2bdd9ba08e469f655c5c6175e3e3ffb38b9 (patch)
tree99cc6bbbbf857a615760e62a3466dd0bdd3cf5f1 /drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
parent75610fdd38d9d158385049c9f80547a2253c65ea (diff)
downloadlinux-f5cdd2bdd9ba08e469f655c5c6175e3e3ffb38b9.tar.bz2
drm/amdgpu/swSMU: handle DC controlled by GPIO for navi1x
Check the platform caps in the vbios pptable to decide whether to enable automatic AC/DC transitions. Bug: https://gitlab.freedesktop.org/drm/amd/issues/1043 Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
index 323e7e61493b..18172dfec947 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
@@ -408,6 +408,7 @@ struct smu_context
uint32_t smc_if_version;
bool uploading_custom_pp_table;
+ bool dc_controlled_by_gpio;
};
struct i2c_adapter;