]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add MI_MATH and ALU instruction definitions
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 4 Mar 2025 16:23:07 +0000 (17:23 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 12 Mar 2025 10:37:50 +0000 (11:37 +0100)
commitb823f80bbd63f67c926a3a0c5dcf246fb8736d7b
tree86bd4bebf4cf4f7d697ec7c78b64653878d97c48
parent4383dd88fa77b8489b627125b268c3f1ab934e37
drm/xe: Add MI_MATH and ALU instruction definitions

The command streamer implements an Arithmetic Logic Unit (ALU)
which supports basic arithmetic and logical operations on two
64-bit operands. Access to this ALU is thru the MI_MATH command
and sixteen General Purpose Register (GPR) 64-bit registers,
which are used as temporary storage.

Bspec: 45737, 60236 # MI
Bspec: 45525, 60132 # ALU
Bspec: 45533, 60309 # GPR
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/20250304162307.1866-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/instructions/xe_alu_commands.h [new file with mode: 0644]
drivers/gpu/drm/xe/instructions/xe_mi_commands.h
drivers/gpu/drm/xe/regs/xe_engine_regs.h