]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2746e32d7389dddf6a46d5b38e7f3fc5186aa47b
tree3df996c24bcc8004edd3abf2df4f18552e2dc143
parent33a71b922c629c33312c95729ae21a0905c9bfc9
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