diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-04-13 02:28:45 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:31:46 +0300 |
commit | 56492dacee943dd8241e29fe6a2d698d0029035c (patch) | |
tree | 9ced8ef1422ab07442f13f1b7026cd147c7c5e07 /drivers/gpu/drm/xe/xe_migrate.c | |
parent | bb36f4b4ed279c7deed936957f733b2af0d3d78f (diff) | |
download | linux-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/xe_migrate.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_migrate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c index a8e66b84dc63..d7da5bf2d984 100644 --- a/drivers/gpu/drm/xe/xe_migrate.c +++ b/drivers/gpu/drm/xe/xe_migrate.c @@ -518,8 +518,8 @@ static void emit_copy(struct xe_gt *gt, struct xe_bb *bb, XE_BUG_ON(pitch / 4 > S16_MAX); XE_BUG_ON(pitch > U16_MAX); - bb->cs[bb->len++] = GEN9_XY_FAST_COPY_BLT_CMD | (10 - 2); - bb->cs[bb->len++] = BLT_DEPTH_32 | pitch; + bb->cs[bb->len++] = XY_FAST_COPY_BLT_CMD | (10 - 2); + bb->cs[bb->len++] = XY_FAST_COPY_BLT_DEPTH_32 | pitch; bb->cs[bb->len++] = 0; bb->cs[bb->len++] = (size / pitch) << 16 | pitch / 4; bb->cs[bb->len++] = lower_32_bits(dst_ofs); |