[PATCH] drm/amd/powerplay: get the temperature on CZ
Sahu, Satyajit
Satyajit.Sahu at amd.com
Fri Oct 6 06:28:16 UTC 2017
From: Satyajit Sahu <satyajit.sahu at amd.com>
Setting the function pointer to the get the temperature on CZ.
Change-Id: I1f368649a68669f3aa6988ce496b6c9a90916355
Signed-off-by: Satyajit Sahu <satyajit.sahu at amd.com>
---
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
index 7f3b24f..6b83724 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
@@ -1959,6 +1959,7 @@ static int cz_read_sensor(struct pp_hwmgr *hwmgr, int idx,
.get_current_shallow_sleep_clocks = cz_get_current_shallow_sleep_clocks,
.get_clock_by_type = cz_get_clock_by_type,
.get_max_high_clocks = cz_get_max_high_clocks,
+ .get_temperature = cz_thermal_get_temperature,
.read_sensor = cz_read_sensor,
};
--
1.9.1
More information about the amd-gfx
mailing list