]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/migrate: fix offset calculation
authorMatthew Auld <matthew.auld@intel.com>
Mon, 6 Dec 2021 11:25:37 +0000 (11:25 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 8 Dec 2021 10:25:25 +0000 (10:25 +0000)
commite9620e30b155df739fa6032da27ca0138f1ef3e9
treedfd2e07d1be137c29f7b9f779e47d0fd106c1dce
parent7730b36979a372a3513f6431df902f5fae3869a0
drm/i915/migrate: fix offset calculation

Ensure we add the engine base only after we calculate the qword offset
into the PTE window.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211206112539.3149779-2-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c