Add config for vendor and device

This commit is contained in:
Marc Di Luzio
2019-01-31 17:35:18 +00:00
parent 8d4e9ac54e
commit cee2351c55
6 changed files with 33 additions and 5 deletions

View File

@@ -52,10 +52,10 @@ struct GameModeGPUInfo {
* Get the gpu state
* Populates the struct with the GPU info on the system
*/
int get_gpu_state( struct GameModeGPUInfo* info );
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 );
int set_gpu_state(struct GameModeGPUInfo *info);