Change AMD overclocking to simply be setting the power_dpm_force_performance_level file for now

This covers the MVP for now, and simply allows pinning the power level to "high"

	Full overclocking set up is somewhat more complicated, and it'll be better to implement that at the same time as the same for Nvidia, where we're currently only really setting the top end power level
This commit is contained in:
Marc Di Luzio
2019-03-07 18:51:20 +00:00
committed by Alex Smith
parent 20efaaa33f
commit 9ade4481c3
9 changed files with 156 additions and 106 deletions

View File

@ -50,14 +50,15 @@ inhibit_screensaver=1
; Requires the coolbits extension activated in nvidia-xconfig
;nv_core_clock_mhz_offset=0
;nv_mem_clock_mhz_offset=0
; This corresponds to the performance level to edit in nvidia-xconfig
; This corresponds to the performance level to edit in nvidia-xconfig (usually the highest level - on older cards 1, newer cards can be 4 or higher)
;nv_perf_level=1
; AMD specific settings (these are percentages applied on top of the baseline, ie. 0 applies no change)
; Requires the the AMDGPU kernel module
; AMD specific settings
; Requires a relatively up to date AMDGPU kernel module
; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring
; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures
;amd_core_clock_percentage=0
;amd_mem_clock_percentage=0
; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now
;amd_performance_level=high
[supervisor]
; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for