drm/selftests/mm: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2019 09:29:07 +0000 (11:29 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Mar 2019 17:36:06 +0000 (17:36 +0000)
commit34965a52dcf91ffecd7f1a450e5abb104f742d9c
treeadc0ca7f94ff48e7944db04efc6a7ec91c8f3980
parenta89bfc5d9a0732d84b4de311e27133daa0586316
drm/selftests/mm: Switch to bitmap_zalloc()

Switch to bitmap_zalloc() to show clearly what we are allocating.
Besides that it returns pointer of bitmap type instead of opaque void *.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190304092908.57382-1-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/selftests/test-drm_mm.c