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
Showing
- drivers/gpu/drm/i915/i915_gem.c 1 addition, 1 deletiondrivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/i915/i915_gem_fence_reg.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/i915_gem_fence_reg.c
- drivers/gpu/drm/i915/i915_gem_tiling.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/i915_gem_tiling.c
- drivers/gpu/drm/i915/selftests/intel_uncore.c 2 additions, 3 deletionsdrivers/gpu/drm/i915/selftests/intel_uncore.c
Loading
Please register or sign in to comment