projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5247e2a
)
drm/etnaviv: switch GEM allocations to __GFP_RETRY_MAYFAIL
author
Lucas Stach
<l.stach@pengutronix.de>
Fri, 11 Aug 2017 09:43:17 +0000
(11:43 +0200)
committer
Lucas Stach
<l.stach@pengutronix.de>
Tue, 15 Aug 2017 13:28:22 +0000
(15:28 +0200)
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: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/etnaviv/etnaviv_gem.c
b/drivers/gpu/drm/etnaviv/etnaviv_gem.c
index 3a2142055392720df9a30656bfea59e7097a9b0e..5a634594a6cea2d2be20e19a0e359229a860775c 100644
(file)
--- a/
drivers/gpu/drm/etnaviv/etnaviv_gem.c
+++ b/
drivers/gpu/drm/etnaviv/etnaviv_gem.c
@@
-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)