Skip to contentSkip to conversation

drm/amd/powerplay: get the temperature on CZ

PATCH In review Sahu, Satyajit 2 participants 2 messages Oct 6, 2017 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#2 lore raw

PATCH 1/1 drm/amd/powerplay: get the temperature on CZ

In reply to a message not in the archive

From: Satyajit Sahu <[email protected]>

Setting the function pointer to the get the temperature on CZ.

Change-Id I1f368649a68669f3aa6988ce496b6c9a90916355
---
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +1 -0
index 7f3b24f..6b83724 100644
@@ -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,
 };
 
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by Alex Deucher
#4 lore raw
In reply to a message not in the archive
Quoted 7 lines

-----Original Message-----
From: Sahu, Satyajit
Sent: Friday, October 06, 2017 2:28 AM
To: [email protected]
Cc: Deucher, Alexander; brahma_sw_dev
Subject: [PATCH] drm/amd/powerplay: get the temperature on CZ

Quoted 6 lines

From: Satyajit Sahu <[email protected]>

Setting the function pointer to the get the temperature on CZ.

Change-Id I1f368649a68669f3aa6988ce496b6c9a90916355
Quoted 19 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +1 -0
index 7f3b24f..6b83724 100644
@@ -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,

};

Quoted 2 lines

--
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx