drm/i915: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2019 09:29:08 +0000 (11:29 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Mar 2019 17:50:35 +0000 (17:50 +0000)
commit6e514e371757a62996881e94dd2a488b3e16d518
tree69aa3aa1261dbe4f37c7add4a7db68ac0d5ef94b
parent8cac9fd9bc7967cd114c543bdf70a5d0aa759498
drm/i915: 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-2-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_fence_reg.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/selftests/intel_uncore.c