mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 05:08:29 +02:00
Move control code back into the helper
This commit is contained in:
@@ -52,15 +52,3 @@ struct GameModeGPUInfo {
|
||||
|
||||
long nv_perf_level; /* The Nvidia Performance Level to adjust */
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the gpu state
|
||||
* Populates the struct with the GPU info on the system
|
||||
*/
|
||||
int get_gpu_state(struct GameModeGPUInfo *info);
|
||||
|
||||
/**
|
||||
* Set the gpu state based on input parameters
|
||||
* Only works when run as root
|
||||
*/
|
||||
int set_gpu_state(struct GameModeGPUInfo *info);
|
||||
|
Reference in New Issue
Block a user