diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2023-10-16 18:34:54 +0200 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 17:43:00 +0100 |
commit | 0134f130e76ad6e323e15ccb00624586c8763075 (patch) | |
tree | 3b25773b659f84ab336a48d2a0a580bef9a9a9f6 /drivers/gpu/drm/xe/xe_lrc.h | |
parent | drm/xe: Clarify number of dwords/qwords stored by MI_STORE_DATA_IMM (diff) | |
download | linux-0134f130e76ad6e323e15ccb00624586c8763075.tar.xz linux-0134f130e76ad6e323e15ccb00624586c8763075.zip |
drm/xe: Extract MI_* instructions to their own header
Extracting the common MI_* instructions that can be used with any engine
to their own header will make it easier as we add additional engine
instructions in upcoming patches.
Also, since the majority of GPU instructions (both MI and non-MI) have
a "length" field in bits 7:0 of the instruction header, a common define
is added for that. Instruction-specific length fields are still defined
for special case instructions that have larger/smaller length fields.
v2:
- Use "instr" instead of "inst" as the short form of "instruction"
everywhere. (Lucas)
- Include xe_reg_defs.h instead of the i915 compat header. (Lucas)
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20231016163449.1300701-12-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_lrc.h')
0 files changed, 0 insertions, 0 deletions