drm/i915/selftests: handle object rounding
authorMatthew Auld <matthew.auld@intel.com>
Mon, 6 Dec 2021 11:25:39 +0000 (11:25 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 8 Dec 2021 10:25:27 +0000 (10:25 +0000)
commit97c8ef443ae1f6493c02d6f433eb5a2b72d8b438
treee8ffe0371ea50995a6e1204a7f94d08a58552989
parent31d70749bfe110593fbe8bf45e7c7788c7d85035
drm/i915/selftests: handle object rounding

Ensure we account for any object rounding due to min_page_size
restrictions.

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-4-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/selftest_migrate.c