* [PATCH 1/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for APUs
@ 2021-04-30 16:42 Alex Deucher
2021-04-30 16:42 ` [PATCH 2/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh Alex Deucher
0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2021-04-30 16:42 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher
APUs only support adjusting the SCLK domain.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 4e459ef632ef..cbd38f2be958 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -735,6 +735,14 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
* - a list of valid ranges for sclk, mclk, and voltage curve points
* labeled OD_RANGE
*
+ * < For APUs >
+ *
+ * Reading the file will display:
+ *
+ * - minimum and maximum engine clock labeled OD_SCLK
+ *
+ * - a list of valid ranges for sclk labeled OD_RANGE
+ *
* To manually adjust these settings:
*
* - First select manual using power_dpm_force_performance_level
--
2.30.2
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh
2021-04-30 16:42 [PATCH 1/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for APUs Alex Deucher
@ 2021-04-30 16:42 ` Alex Deucher
2021-05-06 0:54 ` Quan, Evan
0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2021-04-30 16:42 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher
Vangogh follows other APUs, but also allows core clock adjustments.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index cbd38f2be958..082b01e872fe 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -743,6 +743,15 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
*
* - a list of valid ranges for sclk labeled OD_RANGE
*
+ * < For VanGogh >
+ *
+ * Reading the file will display:
+ *
+ * - minimum and maximum engine clock labeled OD_SCLK
+ * - minimum and maximum core clocks labeled OD_CCLK
+ *
+ * - a list of valid ranges for sclk and cclk labeled OD_RANGE
+ *
* To manually adjust these settings:
*
* - First select manual using power_dpm_force_performance_level
@@ -751,7 +760,10 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
* string that contains "s/m index clock" to the file. The index
* should be 0 if to set minimum clock. And 1 if to set maximum
* clock. E.g., "s 0 500" will update minimum sclk to be 500 MHz.
- * "m 1 800" will update maximum mclk to be 800Mhz.
+ * "m 1 800" will update maximum mclk to be 800Mhz. For core
+ * clocks on VanGogh, the string contains "p core index clock".
+ * E.g., "p 2 0 800" would set the minimum core clock on core
+ * 2 to 800Mhz.
*
* For sclk voltage curve, enter the new values by writing a
* string that contains "vc point clock voltage" to the file. The
--
2.30.2
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH 2/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh
2021-04-30 16:42 ` [PATCH 2/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh Alex Deucher
@ 2021-05-06 0:54 ` Quan, Evan
0 siblings, 0 replies; 3+ messages in thread
From: Quan, Evan @ 2021-05-06 0:54 UTC (permalink / raw)
To: Deucher, Alexander, amd-gfx; +Cc: Deucher, Alexander
[AMD Public Use]
Series is reviewed-by: Evan Quan <evan.quan@amd.com>
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: Saturday, May 1, 2021 12:43 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>
> Subject: [PATCH 2/2] drm/amdgpu/pm: add documentation for
> pp_od_clock_voltage for vangogh
>
> Vangogh follows other APUs, but also allows core clock adjustments.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index cbd38f2be958..082b01e872fe 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -743,6 +743,15 @@ static ssize_t amdgpu_set_pp_table(struct device
> *dev,
> *
> * - a list of valid ranges for sclk labeled OD_RANGE
> *
> + * < For VanGogh >
> + *
> + * Reading the file will display:
> + *
> + * - minimum and maximum engine clock labeled OD_SCLK
> + * - minimum and maximum core clocks labeled OD_CCLK
> + *
> + * - a list of valid ranges for sclk and cclk labeled OD_RANGE
> + *
> * To manually adjust these settings:
> *
> * - First select manual using power_dpm_force_performance_level
> @@ -751,7 +760,10 @@ static ssize_t amdgpu_set_pp_table(struct device
> *dev,
> * string that contains "s/m index clock" to the file. The index
> * should be 0 if to set minimum clock. And 1 if to set maximum
> * clock. E.g., "s 0 500" will update minimum sclk to be 500 MHz.
> - * "m 1 800" will update maximum mclk to be 800Mhz.
> + * "m 1 800" will update maximum mclk to be 800Mhz. For core
> + * clocks on VanGogh, the string contains "p core index clock".
> + * E.g., "p 2 0 800" would set the minimum core clock on core
> + * 2 to 800Mhz.
> *
> * For sclk voltage curve, enter the new values by writing a
> * string that contains "vc point clock voltage" to the file. The
> --
> 2.30.2
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> freedesktop.org%2Fmailman%2Flistinfo%2Famd-
> gfx&data=04%7C01%7Cevan.quan%40amd.com%7C79ef0e2bf6b247c1c
> 77808d90bf70331%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C63
> 7553977806057179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=
> MTCNQ%2F2y97czSUCtxLtzgZNWbtC2UPArEEF2lTtB50Y%3D&reserved=
> 0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-06 0:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 16:42 [PATCH 1/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for APUs Alex Deucher
2021-04-30 16:42 ` [PATCH 2/2] drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh Alex Deucher
2021-05-06 0:54 ` Quan, Evan
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.