]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Add MI_COPY_MEM_MEM GPU instruction definitions
authorMatthew Brost <matthew.brost@intel.com>
Tue, 11 Jun 2024 14:40:44 +0000 (07:40 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 13 Jun 2024 02:10:19 +0000 (19:10 -0700)
commit9f46ecbb3f1d5111c28e8205ad1526663c28aa9d
tree852029e34210e59b7c867b4ad06494db3bf5d1e8
parent8b9544e07d802bf5376921500c4d19c3405d3ad6
drm/xe: Add MI_COPY_MEM_MEM GPU instruction definitions

MI_COPY_MEM_MEM GPU instructions are used to copy ctx timestamp from a
LRC registers to another location at the beginning of every jobs
execution. Add MI_COPY_MEM_MEM GPU instruction definitions.

v2:
 - Include MI_COPY_MEM_MEM based on instruction order (Michal)
 - Fix tabs/spaces issue (Michal)
 - Use macro for DW definition (Michal)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240611144053.2805091-3-matthew.brost@intel.com
drivers/gpu/drm/xe/instructions/xe_mi_commands.h