Move control code back into the helper

This commit is contained in:
Marc Di Luzio
2019-02-03 18:41:15 +00:00
parent ff1a838ab7
commit 53428356a5
4 changed files with 48 additions and 84 deletions

View File

@@ -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);