diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-01-10 15:42:58 +0200 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-01-31 15:27:09 +0200 |
commit | 7f0be0e7d9becb79630093bf0e6daeadcd937062 (patch) | |
tree | eef956756b06273d71731d98a545142e8bb99fb2 /shaders | |
parent | 3f820260ce660cdff7fb803237c57554a29498c0 (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 'shaders')
0 files changed, 0 insertions, 0 deletions