From 6214034e5982a47fc31c648053f059c778312a99 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Thu, 21 Jul 2022 22:17:35 -0500 Subject: [PATCH] add GPU shader/core clock control to "custom" profile --- templates/amdgpu-clock.sh.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/amdgpu-clock.sh.j2 b/templates/amdgpu-clock.sh.j2 index 8391e46..34d3634 100644 --- a/templates/amdgpu-clock.sh.j2 +++ b/templates/amdgpu-clock.sh.j2 @@ -58,6 +58,9 @@ echo 'vo {{ gpu_mv_offset }}' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_v # commit the changes echo 'c' | tee /sys/class/drm/{{ card }}/device/pp_od_clk_voltage +# force GPU core/shader into the highest profile: {{ gpu_clock_max }}Mhz +echo '1' | tee /sys/class/drm/{{ card }}/device/pp_dpm_sclk + # force GPU memory into highest profile echo '3' | tee /sys/class/drm/{{ card }}/device/pp_dpm_mclk {% endif %}