drm/i915/gvt: Replace roundup with DIV_ROUND_UP
authorNicolin Chen <nicolinc@nvidia.com>
Sat, 23 Jul 2022 02:02:48 +0000 (19:02 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Sat, 23 Jul 2022 13:29:10 +0000 (07:29 -0600)
commit2c9e8c01109fb65a63b6830adeb5d7c79ccf26d6
tree3df996c24bcc8004edd3abf2df4f18552e2dc143
parente8f90717ed3b58e81c480b3aa38e641c0da5a456
drm/i915/gvt: Replace roundup with DIV_ROUND_UP

It's a bit redundant for the maths here using roundup.

Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Terrence Xu <terrence.xu@intel.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Link: https://lore.kernel.org/r/20220723020256.30081-3-nicolinc@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/gpu/drm/i915/gvt/kvmgt.c