aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.com>2017-05-17 08:55:08 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-18 17:10:23 +0200
commitc4f51dc8729645f755ee59b5a2535b6f567b4b05 (patch)
treebd78f4e0f60ae8dd262131215b6c10e05e87e511 /drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c
parentgpu: host1x: select IOMMU_IOVA (diff)
downloadlinux-dev-c4f51dc8729645f755ee59b5a2535b6f567b4b05.tar.xz
linux-dev-c4f51dc8729645f755ee59b5a2535b6f567b4b05.zip
drm: replace drm_[cm]alloc* by kvmalloc alternatives
drm_[cm]alloc* has grown their own kvmalloc with vmalloc fallback implementations. MM has grown kvmalloc* helpers in the meantime. Let's use those because it a) reduces the code and b) MM has a better idea how to implement fallbacks (e.g. do not vmalloc before kmalloc is tried with __GFP_NORETRY). drm_calloc_large needs to get __GFP_ZERO explicitly but it is the same thing as kvmalloc_array in principle. Signed-off-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170517065509.18659-1-mhocko@kernel.org
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c')
0 files changed, 0 insertions, 0 deletions