OSDN Git Service

drm/i915/selftest_migrate: Consider the possible roundup of size
authorRamalingam C <ramalingam.c@intel.com>
Tue, 5 Apr 2022 15:08:37 +0000 (20:38 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 14 Apr 2022 07:50:29 +0000 (13:20 +0530)
commita785d3a8affd11d19955464f376602dd711ad309
tree94f268855039f7e02036e0feb0742567d0ff0b31
parent48760ffe923aeb2cc73865ea36b3509718d102e3
drm/i915/selftest_migrate: Consider the possible roundup of size

Consider the possible round up happened at obj size alignment to
min_page_size during the obj allocation.

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