* [PATCH] drm/amd/powerplay: get the temperature on CZ
[not found] ` <1507270909-25473-1-git-send-email-akshua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-10-06 6:28 ` Sahu, Satyajit
[not found] ` <DM5PR12MB1625B61639D9078BBE564589F5710-2J9CzHegvk/5JWmPm5paawdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Sahu, Satyajit @ 2017-10-06 6:28 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: Deucher, Alexander, brahma_sw_dev
From: Satyajit Sahu <satyajit.sahu@amd.com>
Setting the function pointer to the get the temperature on CZ.
Change-Id: I1f368649a68669f3aa6988ce496b6c9a90916355
Signed-off-by: Satyajit Sahu <satyajit.sahu@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
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] drm/amd/powerplay: get the temperature on CZ
[not found] ` <DM5PR12MB1625B61639D9078BBE564589F5710-2J9CzHegvk/5JWmPm5paawdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-10-06 12:56 ` Deucher, Alexander
0 siblings, 0 replies; 2+ messages in thread
From: Deucher, Alexander @ 2017-10-06 12:56 UTC (permalink / raw)
To: Sahu, Satyajit, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: brahma_sw_dev
> -----Original Message-----
> From: Sahu, Satyajit
> Sent: Friday, October 06, 2017 2:28 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander; brahma_sw_dev
> Subject: [PATCH] drm/amd/powerplay: get the temperature on CZ
>
> From: Satyajit Sahu <satyajit.sahu@amd.com>
>
> Setting the function pointer to the get the temperature on CZ.
>
> Change-Id: I1f368649a68669f3aa6988ce496b6c9a90916355
> Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-06 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1507270909-25473-1-git-send-email-akshua@gmail.com>
[not found] ` <1507270909-25473-1-git-send-email-akshua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-06 6:28 ` [PATCH] drm/amd/powerplay: get the temperature on CZ Sahu, Satyajit
[not found] ` <DM5PR12MB1625B61639D9078BBE564589F5710-2J9CzHegvk/5JWmPm5paawdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-10-06 12:56 ` Deucher, Alexander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.