mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 00:46:17 +00:00
WARNING: very minimally tested In general you should not need this tool. Its primary purpose is for benchmarking, and for debugging performance issues. For many kernel releases now sysfs has supported reading and writing the GPU frequency. Therefore, this tool provides no new functionality. What it does provide is an easy to package (for distros) tool that handles the most common scenarios. v2: Get rid of -f from the usage message (Jordan) Add space before [-s (Jordan) Add a -c/--custom example (Jordan) Add a setting for resetting to hardware default (Ken) Replicate examples in commit message in the source code. (me) v3: Its not It's (me) Add --help/-h to usage Add Version + man page Rename tool to intel_gpu_frequency, from intel_frequency Remove "sudo" from the examples Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Kenneth Graunke <kenneth@whitecape.org> Here are some sample usages: $ intel_gpu_frequency --get=cur,min,max,eff cur: 200 MHz min: 200 MHz RP1: 200 MHz max: 1200 MHz $ intel_gpu_frequency -g cur: 200 MHz min: 200 MHz RP1: 200 MHz max: 1200 MHz $ intel_gpu_frequency -geff RP1: 200 MHz $ intel_gpu_frequency --set min=300 $ intel_gpu_frequency --get min cur: 300 MHz min: 300 MHz RP1: 200 MHz max: 1200 MHz $ intel_gpu_frequency --custom max=900 $ intel_gpu_frequency --get max cur: 300 MHz min: 300 MHz RP1: 200 MHz max: 900 MHz $ intel_gpu_frequency --max $ intel_gpu_frequency -g cur: 1200 MHz min: 1200 MHz RP1: 200 MHz max: 1200 MHz $ intel_gpu_frequency -e $ intel_gpu_frequency -g cur: 200 MHz min: 200 MHz RP1: 200 MHz max: 200 MHz $ intel_gpu_frequency --max $ intel_gpu_frequency -g cur: 1200 MHz min: 1200 MHz RP1: 200 MHz max: 1200 MHz $ intel_gpu_frequency --min $ intel_gpu_frequency -g cur: 200 MHz min: 200 MHz RP1: 200 MHz max: 200 MHz
32 lines
805 B
Makefile
32 lines
805 B
Makefile
appmandir = $(APP_MAN_DIR)
|
|
appman_PRE = \
|
|
intel_audio_dump.man \
|
|
intel_bios_dumper.man \
|
|
intel_bios_reader.man \
|
|
intel_error_decode.man \
|
|
intel_gpu_frequency.man \
|
|
intel_gpu_top.man \
|
|
intel_gtt.man \
|
|
intel_infoframes.man \
|
|
intel_lid.man \
|
|
intel_panel_fitter.man \
|
|
intel_reg_dumper.man \
|
|
intel_reg_read.man \
|
|
intel_reg_write.man \
|
|
intel_stepping.man \
|
|
intel_upload_blit_large.man \
|
|
intel_upload_blit_large_gtt.man \
|
|
intel_upload_blit_large_map.man \
|
|
intel_upload_blit_small.man
|
|
|
|
appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
|
|
|
|
EXTRA_DIST = $(appman_PRE)
|
|
CLEANFILES = $(appman_DATA)
|
|
|
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
|
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
|
|
|
.man.$(APP_MAN_SUFFIX):
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|