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

Commit 65375b87 authored by Lucas Stach's avatar Lucas Stach
Browse files

drm/etnaviv: switch GEM allocations to __GFP_RETRY_MAYFAIL



Now that we have a GFP flags with the expected semantic of "try reasonably
hard to find memory, but don't OOM", we should start to use it.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent 5247e2aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ static struct drm_gem_object *__etnaviv_gem_new(struct drm_device *dev,
		 */
		mapping = obj->filp->f_mapping;
		mapping_set_gfp_mask(mapping, GFP_HIGHUSER |
				     __GFP_NORETRY | __GFP_NOWARN);
				     __GFP_RETRY_MAYFAIL | __GFP_NOWARN);
	}

	if (ret)