From patchwork Wed Nov 15 15:24:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10059729 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDC066019D for ; Wed, 15 Nov 2017 15:25:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE15C29937 for ; Wed, 15 Nov 2017 15:25:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C29B629F1F; Wed, 15 Nov 2017 15:25:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E6B229F76 for ; Wed, 15 Nov 2017 15:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=3fCFYx0Ncg6q6sDaeSVd+XDFG3bE1Ahl7O9Qx/5XvYM=; b=TYktWQuhACx+HWrtt5mR+e1C8j aY7KFL/AysJxXG66OJjudfAJ8dBoHHRtPF70vo583hkmVqJj0yDJbuI/q0WvFk7JGEfAraqhW/Vdp j4jW2VcMgnDPrNXhPGDV9hqV9Ir2bZ7hTNYrQdiieWhIbKviJzV7+VhnUpOsNZLksKDP+YLgx/mwd kPtoKzH0JC8K6zvq/oxbuQDXKVcdPsbjibLfXblFp7XSR1Egat/7KDKE3aISHprlyvKzyVbyXl64n EEh+nS92xjb8KnlFRPR9yJEiyJctIJW4OiUFrSa2kAFZhcF+iV2IPmK8SN6FxSwc1/WZnoOnmt2G8 RsofS5Cg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eEzYp-0003pg-Im; Wed, 15 Nov 2017 15:25:07 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEzYg-0003HY-KI for linux-mediatek@lists.infradead.org; Wed, 15 Nov 2017 15:25:02 +0000 Received: by mail-wm0-x243.google.com with SMTP id r68so3754309wmr.1 for ; Wed, 15 Nov 2017 07:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=dTo52LfSRBrNc/bDyj1rVvoNUEDJYIs1ttT6w7vceo0=; b=hOHttAi/JON648SnIXOY4dfYRhOhqbaqPmfalSlHudPe14HNgyLLwEUjclJwHNBUMN J/WYIpv3a4DG5cQLSZBk/RmOJU6VAst0byVwT0GPrphBWmhJsqVTE0VfsWL7WAUBrro3 Ze5yIMgLfeG9g2pHmBp8azq7gv/OUJxHjKtW/ZqQymW7/CS2WE84L62wwHyVetUwvokX etHvS7KvDdP8w6J3IWj+xJyu41o41IyzNF5DuNyxeKsYVs+SNthn5W3NZL+BHlQUZUc6 t4WbK2jL47sdpdAc1g2GuDyaVe32tKHY19AvGLNmIJN0THB7dPj1mrMDEsLGaMaSZ6/4 Vk9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=dTo52LfSRBrNc/bDyj1rVvoNUEDJYIs1ttT6w7vceo0=; b=GNzaG8oe/NZ1IiRd4FMTXGaA2hW4TcQVHf35t4Sah1mWNhLdHaZzMYtS8AywWJqB8B GR+LRu6iCMM7Y2XHwaL2KOwklzBW7nRXwZhtEgWueO7RD5MTOha4ZTE1dxwx7lnBsr7a gOvT12nmxaP2ZHafH3qQj6IAapVyu2FFcpauLJfOhCnVLCkKDWaZ1UhZGexAtaQ9kuKL ddzEy94ewu1YGamUemB9+OKqkJ/welt/I+LFuukBZCZ4ALGEEFy8ArsuIh+d6mCX/nD8 puKT6Tfu/8eyPhcCD7lXFurb4nMzwzrs47peIDJernneBNPWbmNWyTx2qe0AS2nbVPpA dvlw== X-Gm-Message-State: AJaThX4VGxXogzohUtokWFyk2d1uAj5ykII224skdezCiCSgkWxsL2dE 8WH1BbEPRsl7fNh+ZbpA/HHGw6U= X-Google-Smtp-Source: AGs4zMZFxwW/9pVODBOtq733XRK2X1NVFXBMs+yRa/rB8Uqp0IlwLnB4n/f/kS6nl3Oko1ZhDMmFuA== X-Received: by 10.28.135.135 with SMTP id j129mr9750886wmd.144.1510759476486; Wed, 15 Nov 2017 07:24:36 -0800 (PST) Received: from groucho.site (ipbcc0ce42.dynamic.kabel-deutschland.de. [188.192.206.66]) by smtp.gmail.com with ESMTPSA id s12sm51547104wrc.89.2017.11.15.07.24.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 07:24:35 -0800 (PST) From: Ulrich Hecht To: linux-mediatek@lists.infradead.org Subject: [POC 07/16] drm/img-rogue: __GFP_WAIT is now __GFP_RECLAIM Date: Wed, 15 Nov 2017 16:24:14 +0100 Message-Id: <1510759463-30201-8-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510759463-30201-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1510759463-30201-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171115_072459_256906_32A6F84F X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulrich Hecht , mbrugger@suse.com, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ulrich Hecht --- 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;