Add gpuclockctl to allow privilaged control of GPU parameters

This commit is contained in:
Marc Di Luzio
2019-01-31 17:27:50 +00:00
parent b1bf33d386
commit 8d4e9ac54e
6 changed files with 232 additions and 65 deletions

View File

@ -2,6 +2,7 @@
common_sources = [
'logging.c',
'governors-query.c',
'gpu-query.c',
]
daemon_common = static_library(
@ -62,3 +63,18 @@ cpugovctl = executable(
install: true,
install_dir: path_libexecdir,
)
# Small target util to get and set gpu clocks values
gpuclockctl_sources = [
'gpuclockctl.c',
]
gpuclockctl = executable(
'gpuclockctl',
sources: gpuclockctl_sources,
dependencies: [
link_daemon_common,
],
install: true,
install_dir: path_libexecdir,
)