Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] man: Add --decode to intel_reg.rst
@ 2024-05-30 19:33 Lucas De Marchi
  2024-05-30 19:39 ` Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Lucas De Marchi @ 2024-05-30 19:33 UTC (permalink / raw)
  To: igt-dev; +Cc: Jani Nikula, Lucas De Marchi

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 man/intel_reg.rst | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/man/intel_reg.rst b/man/intel_reg.rst
index d452f7927..0e6c49927 100644
--- a/man/intel_reg.rst
+++ b/man/intel_reg.rst
@@ -41,8 +41,13 @@ Some options are global, and some specific to commands.
 --binary
     Output binary values.
 
+--decode
+    Decode registers. By default it only uses the raw offsets, unless
+    it's a command that would otherwise not work without it or another
+    option forces it enabled. See COMMANDS below for details.
+
 --all
-    Decode registers for all known platforms.
+    Decode registers for all known platforms. This option implies --decode.
 
 --mmio=FILE
     Use MMIO bar from FILE.
@@ -53,7 +58,7 @@ Some options are global, and some specific to commands.
 
 --spec=PATH
     Read register spec from directory or file specified by PATH; see REGISTER
-    SPEC DEFINITIONS below for details.
+    SPEC DEFINITIONS below for details. This option implies --decode.
 
 --help
     Show brief help.
@@ -76,23 +81,18 @@ Write each VALUE to corresponding REGISTER.
 dump [--mmio=FILE --devid=DEVID]
 --------------------------------
 
-Dump all registers specified in the register spec.
+Dump all registers specified in the register spec. The option
+--decode is implicitely enabled.
 
 decode REGISTER VALUE
 ---------------------
 
-Decode REGISTER VALUE.
-
-snapshot
---------
-
-Output the MMIO bar to stdout. The output can be used for a later invocation of
-dump or read with the --mmio=FILE and --devid=DEVID parameters.
+Decode REGISTER VALUE. The option --decode is implicitely enabled.
 
 list
 ----
 
-List the known registers.
+List the known registers. The option --decode is implicitely enabled.
 
 help
 ----
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-31 18:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 19:33 [PATCH i-g-t] man: Add --decode to intel_reg.rst Lucas De Marchi
2024-05-30 19:39 ` Jani Nikula
2024-05-30 19:40   ` Jani Nikula
2024-05-31 12:07     ` Lucas De Marchi
2024-05-30 20:05 ` ✗ CI.xeBAT: failure for " Patchwork
2024-05-30 20:27 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-31  0:09 ` ✗ CI.xeFULL: failure " Patchwork
2024-05-31 18:23 ` ✗ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox