diff options
author | Lionel Landwerlin <[email protected]> | 2018-04-03 11:21:31 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-04-03 16:55:53 +0100 |
commit | 4d591272130c2d285b87e7925f620fcefdc2305e (patch) | |
tree | e4226e3622ca6216942cef3c11b6c6305a126bcf /src/intel/genxml/gen5.xml | |
parent | 2841af6238b7648b388ba806f1ad181332b6eef0 (diff) |
intel: genxml: decode variable length MI_LRI
MI_LOAD_REGISTER_IMM can load multiple (register, value) tuples in one
command. In our drivers we only use one tuple at a time, but the
kernel might load more than one at a time.
Instead of making all the tuple part of a group, we leave out the
first tuple (the one we use in the generated packing structures).
This is particularly useful for looking at error stats generated by
the kernel.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/genxml/gen5.xml')
-rw-r--r-- | src/intel/genxml/gen5.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml index 650692f6bda..5c93ecdda30 100644 --- a/src/intel/genxml/gen5.xml +++ b/src/intel/genxml/gen5.xml @@ -974,6 +974,10 @@ <field name="DWord Length" start="0" end="5" type="uint" default="1"/> <field name="Register Offset" start="34" end="63" type="offset"/> <field name="Data DWord" start="64" end="95" type="uint"/> + <group count="0" start="96" size="64"> + <field name="Register Offset" start="2" end="31" type="offset"/> + <field name="Data DWord" start="32" end="63" type="uint"/> + </group> </instruction> <instruction name="MI_STORE_DATA_IMM" bias="2" length="5"> |