drm/i915/selftests: handle more rounding
authorMatthew Auld <matthew.auld@intel.com>
Wed, 6 Apr 2022 17:30:23 +0000 (18:30 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 7 Apr 2022 08:51:44 +0000 (09:51 +0100)
commitae686e220b5f3962f9188e6661bc370941845a3f
treeb6d5b43108d622a4598af6856d6791c23cc57aab
parentce3d4d7f33148ed70ddf5f243f1d76e12a8ee7cc
drm/i915/selftests: handle more rounding

Ensure we account for potential rounding up of lmem objects.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5485
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220406173023.1039107-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/selftest_migrate.c