All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/powerplay: correct the .get_workload_type() pointer
@ 2020-07-03  8:53 Evan Quan
  2020-07-09 20:33 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Evan Quan @ 2020-07-03  8:53 UTC (permalink / raw)
  To: amd-gfx; +Cc: alexander.deucher, Evan Quan

This seemed a typo.

Change-Id: I1e4da590829395617e90d0d43562f934a1ae0234
Signed-off-by: Evan Quan <evan.quan@amd.com>
---
 drivers/gpu/drm/amd/powerplay/smu_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smu_internal.h b/drivers/gpu/drm/amd/powerplay/smu_internal.h
index 8c5cf3860e38..afb3ef874fc5 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_internal.h
+++ b/drivers/gpu/drm/amd/powerplay/smu_internal.h
@@ -73,7 +73,7 @@
 #define smu_feature_get_index(smu, fea)					smu_ppt_funcs(get_smu_feature_index, -EINVAL, smu, fea)
 #define smu_table_get_index(smu, tab)					smu_ppt_funcs(get_smu_table_index, -EINVAL, smu, tab)
 #define smu_power_get_index(smu, src)					smu_ppt_funcs(get_smu_power_index, -EINVAL, smu, src)
-#define smu_workload_get_type(smu, type)				smu_ppt_funcs(get_smu_power_index, -EINVAL, smu, type)
+#define smu_workload_get_type(smu, type)				smu_ppt_funcs(get_workload_type, -EINVAL, smu, type)
 #define smu_run_btc(smu)						smu_ppt_funcs(run_btc, 0, smu)
 #define smu_get_allowed_feature_mask(smu, feature_mask, num)		smu_ppt_funcs(get_allowed_feature_mask, 0, smu, feature_mask, num)
 #define smu_store_cc6_data(smu, st, cc6_dis, pst_dis, pst_sw_dis)	smu_ppt_funcs(store_cc6_data, 0, smu, st, cc6_dis, pst_dis, pst_sw_dis)
-- 
2.27.0

_______________________________________________
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: correct the .get_workload_type() pointer
  2020-07-03  8:53 [PATCH] drm/amd/powerplay: correct the .get_workload_type() pointer Evan Quan
@ 2020-07-09 20:33 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2020-07-09 20:33 UTC (permalink / raw)
  To: Evan Quan; +Cc: Deucher, Alexander, amd-gfx list

On Fri, Jul 3, 2020 at 4:54 AM Evan Quan <evan.quan@amd.com> wrote:
>
> This seemed a typo.
>
> Change-Id: I1e4da590829395617e90d0d43562f934a1ae0234
> Signed-off-by: Evan Quan <evan.quan@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/smu_internal.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/smu_internal.h b/drivers/gpu/drm/amd/powerplay/smu_internal.h
> index 8c5cf3860e38..afb3ef874fc5 100644
> --- a/drivers/gpu/drm/amd/powerplay/smu_internal.h
> +++ b/drivers/gpu/drm/amd/powerplay/smu_internal.h
> @@ -73,7 +73,7 @@
>  #define smu_feature_get_index(smu, fea)                                        smu_ppt_funcs(get_smu_feature_index, -EINVAL, smu, fea)
>  #define smu_table_get_index(smu, tab)                                  smu_ppt_funcs(get_smu_table_index, -EINVAL, smu, tab)
>  #define smu_power_get_index(smu, src)                                  smu_ppt_funcs(get_smu_power_index, -EINVAL, smu, src)
> -#define smu_workload_get_type(smu, type)                               smu_ppt_funcs(get_smu_power_index, -EINVAL, smu, type)
> +#define smu_workload_get_type(smu, type)                               smu_ppt_funcs(get_workload_type, -EINVAL, smu, type)
>  #define smu_run_btc(smu)                                               smu_ppt_funcs(run_btc, 0, smu)
>  #define smu_get_allowed_feature_mask(smu, feature_mask, num)           smu_ppt_funcs(get_allowed_feature_mask, 0, smu, feature_mask, num)
>  #define smu_store_cc6_data(smu, st, cc6_dis, pst_dis, pst_sw_dis)      smu_ppt_funcs(store_cc6_data, 0, smu, st, cc6_dis, pst_dis, pst_sw_dis)
> --
> 2.27.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
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:[~2020-07-09 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  8:53 [PATCH] drm/amd/powerplay: correct the .get_workload_type() pointer Evan Quan
2020-07-09 20:33 ` Alex Deucher

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.