diff mbox

[POC,07/16] drm/img-rogue: __GFP_WAIT is now __GFP_RECLAIM

Message ID 1510759463-30201-8-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ulrich Hecht Nov. 15, 2017, 3:24 p.m. UTC
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
 drivers/gpu/drm/img-rogue/1.6/physmem_osmem_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;