Skip to content

Commit 4383dd8

Browse files
committed
drm/xe: Add MI_LOAD_REGISTER_REG command definition
The MI_LOAD_REGISTER_REG command reads value from a source register location and writes that value to a destination register location. Bspec: 45730, 60233 Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250303173522.1822-2-michal.wajdeczko@intel.com
1 parent 8da8aec commit 4383dd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/xe/instructions/xe_mi_commands.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
#define MI_LOAD_REGISTER_MEM (__MI_INSTR(0x29) | XE_INSTR_NUM_DW(4))
6262
#define MI_LRM_USE_GGTT REG_BIT(22)
6363

64+
#define MI_LOAD_REGISTER_REG (__MI_INSTR(0x2a) | XE_INSTR_NUM_DW(3))
65+
#define MI_LRR_DST_CS_MMIO REG_BIT(19)
66+
#define MI_LRR_SRC_CS_MMIO REG_BIT(18)
67+
6468
#define MI_COPY_MEM_MEM (__MI_INSTR(0x2e) | XE_INSTR_NUM_DW(5))
6569
#define MI_COPY_MEM_MEM_SRC_GGTT REG_BIT(22)
6670
#define MI_COPY_MEM_MEM_DST_GGTT REG_BIT(21)

0 commit comments

Comments
 (0)