summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/regs/xe_gpu_commands.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-04-13 02:28:45 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:31:46 +0300
commit56492dacee943dd8241e29fe6a2d698d0029035c (patch)
tree9ced8ef1422ab07442f13f1b7026cd147c7c5e07 /drivers/gpu/drm/xe/regs/xe_gpu_commands.h
parentbb36f4b4ed279c7deed936957f733b2af0d3d78f (diff)
downloadlinux-56492dacee943dd8241e29fe6a2d698d0029035c.tar.xz
drm/xe: Rename instruction field to avoid confusion
There was both BLT_DEPTH_32 and XY_FAST_COLOR_BLT_DEPTH_32 - also add the prefix to the first to make it clear this is about the FAST_**COPY** operation. While at it, remove the GEN9_ prefix. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/regs/xe_gpu_commands.h')
-rw-r--r--drivers/gpu/drm/xe/regs/xe_gpu_commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/regs/xe_gpu_commands.h b/drivers/gpu/drm/xe/regs/xe_gpu_commands.h
index 9d6508d74d62..05531d43514f 100644
--- a/drivers/gpu/drm/xe/regs/xe_gpu_commands.h
+++ b/drivers/gpu/drm/xe/regs/xe_gpu_commands.h
@@ -55,8 +55,8 @@
#define XY_FAST_COLOR_BLT_MOCS_MASK GENMASK(27, 21)
#define XY_FAST_COLOR_BLT_MEM_TYPE_SHIFT 31
-#define GEN9_XY_FAST_COPY_BLT_CMD (2 << 29 | 0x42 << 22)
-#define BLT_DEPTH_32 (3<<24)
+#define XY_FAST_COPY_BLT_CMD (2 << 29 | 0x42 << 22)
+#define XY_FAST_COPY_BLT_DEPTH_32 (3<<24)
#define PVC_MEM_SET_CMD (2 << 29 | 0x5b << 22)
#define PVC_MEM_SET_CMD_LEN_DW 7