Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f239b7b0 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Dave Airlie
Browse files

drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM



Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 9b8d9d0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ static int drm_addmap_core(drm_device_t * dev, unsigned int offset,
		break;

	case _DRM_SHM:
		map->handle = vmalloc_32(map->size);
		map->handle = vmalloc_user(map->size);
		DRM_DEBUG("%lu %d %p\n",
			  map->size, drm_order(map->size), map->handle);
		if (!map->handle) {