summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2018-01-10 15:42:58 +0200
committerMika Kuoppala <mika.kuoppala@linux.intel.com>2018-01-31 15:27:09 +0200
commit7f0be0e7d9becb79630093bf0e6daeadcd937062 (patch)
treeeef956756b06273d71731d98a545142e8bb99fb2 /man
parent3f820260ce660cdff7fb803237c57554a29498c0 (diff)
tools/intel_reg: Add reading and writing registers through engine
Add option to specify engine for register read/write operation. If engine is specified, use MI_LOAD_REGISTER_IMM and MI_STORE_REGISTER_IMM to write and read register using a batch targeted at that engine. v2: no MI_NOOP after BBE (Chris) v3: use modern engine names (Chris), use global fd v4: strcasecmp (Chris) v5: use register definition format for engine (Jani) Cc: Jani Nikula <jani.nikula@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> CC: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v4) Acked-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/intel_reg.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/man/intel_reg.rst b/man/intel_reg.rst
index d1af178a..4ec24c4c 100644
--- a/man/intel_reg.rst
+++ b/man/intel_reg.rst
@@ -103,7 +103,7 @@ Display brief help.
REGISTER REFERENCES
===================
-Registers are defined as [(PORTNAME|PORTNUM|MMIO-OFFSET):](REGNAME|REGADDR).
+Registers are defined as [(PORTNAME|PORTNUM|ENGINE|MMIO-OFFSET):](REGNAME|REGADDR).
PORTNAME
The register access method, most often MMIO, which is the default. The
@@ -120,6 +120,13 @@ PORTNUM
Numbers above 0xff are automatically interpreted as MMIO offsets, not port
numbers.
+ENGINE
+ Instead of cpu based MMIO, specified engine can be used for access method.
+ Batchbuffer will be targeted for the engine to do read/write. The list of
+ available engines is architecture specific and can be found with
+ "intel_reg help". Prefixing engine name with '-' uses non-privileged
+ batchbuffer for access.
+
MMIO-OFFSET
Use MMIO, and add this offset to the register address.