Browse Source

Rename gpu-query to gpu-control to better describe it's functions

Marc Di Luzio 6 years ago
parent
commit
01dbe4e2b0
5 changed files with 4 additions and 4 deletions
  1. 1 1
      daemon/gamemode-gpu.c
  2. 1 1
      daemon/gpu-control.c
  3. 0 0
      daemon/gpu-control.h
  4. 1 1
      daemon/gpuclockctl.c
  5. 1 1
      daemon/meson.build

+ 1 - 1
daemon/gamemode-gpu.c

@@ -39,7 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
 #include "logging.h"
 
 #include "daemon_config.h"
-#include "gpu-query.h"
+#include "gpu-control.h"
 
 // TODO
 // Gather GPU type and information automatically

+ 1 - 1
daemon/gpu-query.c → daemon/gpu-control.c

@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
 
 #define _GNU_SOURCE
 
-#include "gpu-query.h"
+#include "gpu-control.h"
 #include "logging.h"
 
 // NVIDIA

+ 0 - 0
daemon/gpu-query.h → daemon/gpu-control.h


+ 1 - 1
daemon/gpuclockctl.c

@@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
 
 #include "logging.h"
 
-#include "gpu-query.h"
+#include "gpu-control.h"
 
 /* Helper to quit with usage */
 static const char *usage_text = "usage: gpuclockctl PCI_ID DEVICE [get] [set CORE MEM]";

+ 1 - 1
daemon/meson.build

@@ -2,7 +2,7 @@
 common_sources = [
     'logging.c',
     'governors-query.c',
-    'gpu-query.c',
+    'gpu-control.c',
 ]
 
 daemon_common = static_library(