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

@ -150,5 +150,5 @@ int game_mode_run_client_tests(void);
typedef struct GameModeGPUInfo GameModeGPUInfo;
int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info);
void game_mode_free_gpu(GameModeGPUInfo **info);
int game_mode_apply_gpu(const GameModeGPUInfo *info, bool apply);
int game_mode_apply_gpu(const GameModeGPUInfo *info);
int game_mode_get_gpu(GameModeGPUInfo *info);