mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 13:18:31 +02:00
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:

committed by
Alex Smith

parent
20efaaa33f
commit
9ade4481c3
@@ -30,6 +30,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "daemon_config.h"
|
||||
|
||||
/* Enums for GPU vendors */
|
||||
enum GPUVendor {
|
||||
@@ -45,10 +46,11 @@ enum GPUVendor {
|
||||
/* Storage for GPU info*/
|
||||
struct GameModeGPUInfo {
|
||||
long vendor;
|
||||
long device; /* path to device, ie. /sys/class/drm/card#/ */
|
||||
|
||||
long nv_core; /* Core clock to apply */
|
||||
long nv_mem; /* Mem clock to apply */
|
||||
|
||||
long device; /* path to device, ie. /sys/class/drm/card#/ */
|
||||
long nv_perf_level; /* The Nvidia Performance Level to adjust */
|
||||
|
||||
long nv_core; /* Nvidia core clock */
|
||||
long nv_mem; /* Nvidia mem clock */
|
||||
|
||||
char amd_performance_level[CONFIG_VALUE_MAX]; /* The AMD performance level set to */
|
||||
};
|
||||
|
Reference in New Issue
Block a user