summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-01-24 16:24:59 +0200
committerJani Nikula <jani.nikula@intel.com>2017-01-31 16:30:00 +0200
commitf609d1879355bae7747584a91b4b12e8dc502aef (patch)
tree56e5c44a2f0347b8622ea8371fea7b8d6f9ef7ac
parent44023a2d8bddbbc6e89f05b69ab4f1a6a0079b7d (diff)
tools: rename intel_bios_reader to intel_vbt_decode
After all these years intel_bios_reader and intel_bios_dumper still manage to confuse me. Read or dump, which one decodes. Rename intel_bios_reader to intel_vbt_decode to be in line with the naming of all the other tools (particularly the closely related intel_opregion_decode tool) that decode previously gathered or dumped information. Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r--man/Makefile.am4
-rw-r--r--man/intel_bios_dumper.rst2
-rw-r--r--man/intel_vbt_decode.rst (renamed from man/intel_bios_reader.rst)10
-rw-r--r--tools/.gitignore2
-rw-r--r--tools/Makefile.sources6
-rw-r--r--tools/intel_opregion_decode.c2
-rw-r--r--tools/intel_vbt_decode.c (renamed from tools/intel_bios_reader.c)0
7 files changed, 13 insertions, 13 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index e40e2e93..0098fa45 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -3,7 +3,6 @@ appman_RST = \
intel_aubdump.rst \
intel_audio_dump.rst \
intel_bios_dumper.rst \
- intel_bios_reader.rst \
intel_error_decode.rst \
intel_gpu_frequency.rst \
intel_gpu_top.rst \
@@ -16,7 +15,8 @@ appman_RST = \
intel_upload_blit_large.rst \
intel_upload_blit_large_gtt.rst \
intel_upload_blit_large_map.rst \
- intel_upload_blit_small.rst
+ intel_upload_blit_small.rst \
+ intel_vbt_decode.rst
if HAVE_RST2MAN
appman_DATA = $(appman_RST:rst=$(APP_MAN_SUFFIX))
diff --git a/man/intel_bios_dumper.rst b/man/intel_bios_dumper.rst
index 89e0001a..b271b9b1 100644
--- a/man/intel_bios_dumper.rst
+++ b/man/intel_bios_dumper.rst
@@ -33,4 +33,4 @@ Report bugs to https://bugs.freedesktop.org.
SEE ALSO
========
-**intel_bios_reader(1)**
+**intel_vbt_decode(1)**
diff --git a/man/intel_bios_reader.rst b/man/intel_vbt_decode.rst
index 0e935904..a8d36d50 100644
--- a/man/intel_bios_reader.rst
+++ b/man/intel_vbt_decode.rst
@@ -1,6 +1,6 @@
-=================
-intel_bios_reader
-=================
+================
+intel_vbt_decode
+================
-----------------------------
Intel Video BIOS Table parser
@@ -16,12 +16,12 @@ Intel Video BIOS Table parser
SYNOPSIS
========
-**intel_bios_reader** [*OPTIONS*]
+**intel_vbt_decode** [*OPTIONS*]
DESCRIPTION
===========
-**intel_bios_reader** is a tool to parse the Intel Video BIOS Tables (VBT) and
+**intel_vbt_decode** is a tool to parse the Intel Video BIOS Tables (VBT) and
present the information in a human readable format.
The preferred ways of getting the binary VBT to parse are:
diff --git a/tools/.gitignore b/tools/.gitignore
index 9bb889f7..9f9dce65 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -5,7 +5,7 @@ intel_aubdump
intel_audio_dump
intel_backlight
intel_bios_dumper
-intel_bios_reader
+intel_vbt_decode
intel_display_crc
intel_display_poller
intel_dp_compliance
diff --git a/tools/Makefile.sources b/tools/Makefile.sources
index 34c7a74b..5797f768 100644
--- a/tools/Makefile.sources
+++ b/tools/Makefile.sources
@@ -10,7 +10,6 @@ tools_prog_lists = \
intel_reg \
intel_backlight \
intel_bios_dumper \
- intel_bios_reader \
intel_display_crc \
intel_display_poller \
intel_forcewaked \
@@ -28,6 +27,7 @@ tools_prog_lists = \
intel_reg_checker \
intel_residency \
intel_stepping \
+ intel_vbt_decode \
intel_watermark \
intel_gem_info \
$(NULL)
@@ -47,8 +47,8 @@ intel_reg_SOURCES = \
intel_reg_spec.c \
intel_reg_spec.h
-intel_bios_reader_SOURCES = \
- intel_bios_reader.c \
+intel_vbt_decode_SOURCES = \
+ intel_vbt_decode.c \
intel_bios.h
intel_l3_parity_SOURCES = \
diff --git a/tools/intel_opregion_decode.c b/tools/intel_opregion_decode.c
index c65828ae..f532c1e2 100644
--- a/tools/intel_opregion_decode.c
+++ b/tools/intel_opregion_decode.c
@@ -327,7 +327,7 @@ static void decode_vbt(const void *buffer)
printf("\tproduct string:\t%s\n", s);
free(s);
- printf("\t(use intel_bios_reader to decode the VBT)\n");
+ printf("\t(use intel_vbt_decode to decode the VBT)\n");
printf("\n");
}
diff --git a/tools/intel_bios_reader.c b/tools/intel_vbt_decode.c
index 301cd1cc..301cd1cc 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_vbt_decode.c