summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
diff options
context:
space:
mode:
authorKevin Wang2019-06-03 09:58:31 +0200
committerAlex Deucher2019-07-31 07:00:49 +0200
commit2c0f07fe3ca57c8fb4ee179c9fb50d6eba75349e (patch)
tree1a9c79a14171d03981ee562940f61e7946f3119f /drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
parentdrm/amdkfd: Fix byte align on VegaM (diff)
downloadkernel-qcow2-linux-2c0f07fe3ca57c8fb4ee179c9fb50d6eba75349e.tar.gz
kernel-qcow2-linux-2c0f07fe3ca57c8fb4ee179c9fb50d6eba75349e.tar.xz
kernel-qcow2-linux-2c0f07fe3ca57c8fb4ee179c9fb50d6eba75349e.zip
drm/amd/powerplay: add callback function of get_thermal_temperature_range
1. the thermal temperature is asic related data, move the code logic to xxx_ppt.c. 2. replace data structure PP_TemperatureRange with smu_temperature_range. 3. change temperature uint from temp*1000 to temp (temperature uint). Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Acked-by: Huang Rui <ray.huang@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, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
index 22e46a289a16..208e6711d506 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
@@ -429,7 +429,6 @@ struct smu_table_context
struct smu_table *tables;
uint32_t table_count;
struct smu_table memory_pool;
- uint16_t software_shutdown_temp;
uint8_t thermal_controller_type;
uint16_t TDPODLimit;