drm/i915/gt: use engine instance directly for offset
authorRamalingam C <ramalingam.c@intel.com>
Tue, 5 Apr 2022 15:08:32 +0000 (20:38 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 14 Apr 2022 07:47:05 +0000 (13:17 +0530)
commitfd5803e5eebec174ae1d86cae2dbceebd45b7cf9
tree96a8524fbac2264ed8c804fac67a94f3fcc3f50d
parentc16c8bfa09d5f318c1bd65698d058d3739970c24
drm/i915/gt: use engine instance directly for offset

To make it uniform across copy and clear, use the engine offset directly
to calculate the offset in the cmd forming for emit_clear.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405150840.29351-2-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c