[POC 07/16] drm/img-rogue: __GFP_WAIT is now __GFP_RECLAIM
Ulrich Hecht
ulrich.hecht+renesas at gmail.com
Wed Nov 15 07:24:14 PST 2017
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
---
drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c b/drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c
index f5353e3..7b55904 100644
--- a/drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c
+++ b/drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c
@@ -1528,7 +1528,7 @@ _AllocOSPages_Fast(struct _PMR_OSPAGEARRAY_DATA_ *psPageArrayData,
unsigned int gfp_flags = _GetGFPFlags(psPageArrayData);
IMG_UINT32 ui32GfpFlags;
- IMG_UINT32 ui32HighOrderGfpFlags = ((gfp_flags & ~__GFP_WAIT) | __GFP_NORETRY);
+ IMG_UINT32 ui32HighOrderGfpFlags = ((gfp_flags & ~__GFP_RECLAIM) | __GFP_NORETRY);
struct page **ppsPageArray = psPageArrayData->pagearray;
--
2.7.4
More information about the Linux-mediatek
mailing list