diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-12-06 11:25:38 +0000 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-12-08 10:25:26 +0000 |
commit | 31d70749bfe110593fbe8bf45e7c7788c7d85035 (patch) | |
tree | 69914f69784c64f69936c288f552c07d0b903033 /drivers/gpu/drm/i915/gt/selftest_migrate.c | |
parent | 08c7c122ad90799cc3ae674e7f29f236f91063ce (diff) |
drm/i915/migrate: fix length calculation
No need to insert PTEs for the PTE window itself, also foreach expects a
length not an end offset, which could be gigantic here with a second
engine.
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-3-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftest_migrate.c')
0 files changed, 0 insertions, 0 deletions