drm/amd/powerplay: get the temperature on CZ
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: get the temperature on CZ
In reply to a message not in the archiveFrom: Satyajit Sahu <[email protected]>
Setting the function pointer to the get the temperature on CZ.
Change-Id I1f368649a68669f3aa6988ce496b6c9a90916355
Signed-off-by Satyajit Sahu <[email protected]>
--- 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
@@ -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
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 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 I1f368649a68669f3aa6988ce496b6c9a90916355Signed-off-by Satyajit Sahu <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
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@@ -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