From 01dbe4e2b06bdf9ab1f2a8b67b97fb28b7d97426 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sun, 3 Feb 2019 17:35:21 +0000 Subject: [PATCH] Rename gpu-query to gpu-control to better describe it's functions --- daemon/gamemode-gpu.c | 2 +- daemon/{gpu-query.c => gpu-control.c} | 2 +- daemon/{gpu-query.h => gpu-control.h} | 0 daemon/gpuclockctl.c | 2 +- daemon/meson.build | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename daemon/{gpu-query.c => gpu-control.c} (98%) rename daemon/{gpu-query.h => gpu-control.h} (100%) diff --git a/daemon/gamemode-gpu.c b/daemon/gamemode-gpu.c index c80b178..db3a9d1 100644 --- a/daemon/gamemode-gpu.c +++ b/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 diff --git a/daemon/gpu-query.c b/daemon/gpu-control.c similarity index 98% rename from daemon/gpu-query.c rename to daemon/gpu-control.c index 0f6b2e2..491db39 100644 --- a/daemon/gpu-query.c +++ b/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 diff --git a/daemon/gpu-query.h b/daemon/gpu-control.h similarity index 100% rename from daemon/gpu-query.h rename to daemon/gpu-control.h diff --git a/daemon/gpuclockctl.c b/daemon/gpuclockctl.c index e4eced8..cb32baf 100644 --- a/daemon/gpuclockctl.c +++ b/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]"; diff --git a/daemon/meson.build b/daemon/meson.build index 46e40a4..1c57061 100644 --- a/daemon/meson.build +++ b/daemon/meson.build @@ -2,7 +2,7 @@ common_sources = [ 'logging.c', 'governors-query.c', - 'gpu-query.c', + 'gpu-control.c', ] daemon_common = static_library(