]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ad8dcb6c79aac246f6131a958daf68b15dadf4b
tree96a8524fbac2264ed8c804fac67a94f3fcc3f50d
parent92f9e446cbff142c15a366d7fc72b18838e4e9fd
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