Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3680468imm; Mon, 15 Oct 2018 02:13:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV61fjHzmpuiK+6voHyq95nYUZ8TWhgCUl6LG/MD+v/J1iHGhINhykh69eCjf4c+wEtRGT6Xt X-Received: by 2002:a62:4ec9:: with SMTP id c192-v6mr16653807pfb.221.1539594817840; Mon, 15 Oct 2018 02:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539594817; cv=none; d=google.com; s=arc-20160816; b=jmTqWDy6OXcKJ8ULfJGWKWZ7svu1gjaY/P+hI1+Z1mvua/iyDjAnsbbinPtvZGEFnF vNmTSspwgYYUBMN3S22GI3mxGUvZCgcYINi1V09ibm6IXiE7Y54Devz6+VFADt8ix/6n Z5Na0HvcxhHGWwiu9rUGak4X7JX914AJZe/JKC1Ugc5IXHbiqQfucUsixfrBfkN+bwv3 r4AiQHjXL3LHiCaKuQ+ZJdkDNurLJXkcOEPM7AysBcordC6Yf3Z8IqHeaFXP5pVTNu+y TKDN2pgXBjlefslGhODc2IyF9avamX5dybfQugWaWB3bFV7w1PFwkmQiWZ+zF3gr5Psw HyJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=shza/8DutBv9QncV/KKppZfyxKGiicA0igKPJZ3lmVs=; b=MUWN/Qk4Mw7dhI/yK/zy4pSnj1HG8JlhnVY2A1PlscbfXlxpG9MD3TxRBAU2Hup2z1 DqJ5GuBTq+V2CQJLKgLwM+wHSdsmDU9jiHptqlGUaoadhAULti89m4DpjGeZef3jcqOA 5YB1wkUZbKajX6KixNbCfWlH27dX7khvRc7mx7NbyZwUFtVsXl0E5TrUlZc4mwKElOI4 BFM4BkZvpUTNVSG34oQDiLIwhwsySuFG9b0+IINWCB5gQxPWaSaiRBK5XrgLI/+4Eq3c nsWFaj/D/uHTJ5RoLyoKEgrnF3ayurgBbvuLr9rCABetcR+EMgAWUdtNPow7BEdh7X2c ih/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L1QMU++G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13-v6si9878714plo.182.2018.10.15.02.13.23; Mon, 15 Oct 2018 02:13:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L1QMU++G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726870AbeJOQ5P (ORCPT + 99 others); Mon, 15 Oct 2018 12:57:15 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:46431 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbeJOQ5P (ORCPT ); Mon, 15 Oct 2018 12:57:15 -0400 Received: by mail-ot1-f65.google.com with SMTP id o21so18176304otb.13 for ; Mon, 15 Oct 2018 02:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=shza/8DutBv9QncV/KKppZfyxKGiicA0igKPJZ3lmVs=; b=L1QMU++GhtJG0KtLYuZuxAWSc4SHraygS/1R1jzyIW1WxVrVuaTY3n0H8YrK4WJ+Si n7XKmEWa339ycInIkPYKbe2xlMn4rP2hTEOLzo42MW94vDtOtAKC4WqNzA66cIrLKJu2 0/uLC/PesgA79TrBeXOWvh1p8y1aaTLhNWR+4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=shza/8DutBv9QncV/KKppZfyxKGiicA0igKPJZ3lmVs=; b=NVdXJqCMIa36o0ujM/cKpY12IXDZWNtHeQFXZ4EvgENeUxWjNMdSd4wyfEvI98NQTv mCF+5nn8+Pu/7Ws38I5glFFmKyXOsLiROBplI1aGzFCjy6HFdomYLcWy1EpJ3aBPWmVL 7xhI0XCLnlisbjtSupWbXtKhYhLzkWWhovDgPOR8gLPvMF3hYwkXAEKGkl00Y49zKT6Q Pnk5rR3IDs6EviBa/c2GusX2FSsAiTdROkBT9Y/wosMmoItTTchjhR3H/pCQIhlCiIlM 8cfZi4K4SkWV92xdkDxans7C91U1Q7ghBEgnl1P1vWJHZg/lezhUCVXYitQCGLopnpeB V69g== X-Gm-Message-State: ABuFfohBuKt/PUMPajuXn0hiKMyYJcSCvph5zhAIFJx2axHd3vRXe8cG 8kG6M2F26cdgLYVSu+tv4V5o2Z7lRzRruI68Y7PF7Q== X-Received: by 2002:a9d:30c6:: with SMTP id r6mr10059571otg.344.1539594771516; Mon, 15 Oct 2018 02:12:51 -0700 (PDT) MIME-Version: 1.0 References: <20181013151707.32210-1-hch@lst.de> <20181013151707.32210-7-hch@lst.de> In-Reply-To: <20181013151707.32210-7-hch@lst.de> From: Benjamin Gaignard Date: Mon, 15 Oct 2018 11:12:40 +0200 Message-ID: Subject: Re: [PATCH 6/8] drm: sti: don't pass GFP_DMA32 to dma_alloc_wc To: Christoph Hellwig Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, ML dri-devel , linux-media@vger.kernel.org, linux-spi@vger.kernel.org, Linux Fbdev development list , alsa-devel@alsa-project.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le sam. 13 oct. 2018 =C3=A0 17:17, Christoph Hellwig a =C3=A9c= rit : > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_gdp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.= c > index c32de6cbf061..cdf0a1396e00 100644 > --- a/drivers/gpu/drm/sti/sti_gdp.c > +++ b/drivers/gpu/drm/sti/sti_gdp.c > @@ -517,7 +517,7 @@ static void sti_gdp_init(struct sti_gdp *gdp) > /* Allocate all the nodes within a single memory page */ > size =3D sizeof(struct sti_gdp_node) * > GDP_NODE_PER_FIELD * GDP_NODE_NB_BANK; > - base =3D dma_alloc_wc(gdp->dev, size, &dma_addr, GFP_KERNEL | GFP= _DMA); > + base =3D dma_alloc_wc(gdp->dev, size, &dma_addr, GFP_KERNEL); > > if (!base) { > DRM_ERROR("Failed to allocate memory for GDP node\n"); > -- > 2.19.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel --=20 Benjamin Gaignard Graphic Study Group Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog