Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5127779imm; Tue, 16 Oct 2018 05:43:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Hyfyn7YX5C6p2RnpVGNFP3p5x+29O7P1BS6W2LrEBLmiucgQLj5bPHLQf2uPF7M+3T289 X-Received: by 2002:a63:4614:: with SMTP id t20-v6mr20600443pga.438.1539693810347; Tue, 16 Oct 2018 05:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539693810; cv=none; d=google.com; s=arc-20160816; b=YpvceYzuUbi23aC1s7WE6EiX4VB+vRs7MNfvtrf331ll0k4SPSQFHLpJ9g4y0mybq9 1+lNVuPZ3inZRQOjA5P/xUeJS8CKueKBgAyzmnmBxqskoZfyou/LOGETczlNhOXiBJ61 tqQ1yMx1osQec5/ZqBgqvUfMkmgJaJQj92Txp0cm/XDwZrMEQbiU9TDUmgwgaaRTb2S6 DCY7DOPXeDxTIm/8YhjPN93mjgESWzhiQ4wOuBNJTJauiKpWYUNbFB6V/Wg/OK24FaUa t/Zgm5QPp5zHh3PajPNe53hpYGKq5R9F3H9BcucswPO16o6xjmFbmgjWC9opCGtARgKC HkyA== 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=vENAup6evfpT5UsjzZe6Xq6qPlB8onFIu1ydE2f8DG0=; b=idAx5wsQxIYlIKkIK8tOnRNAi+UfJ6KHbkDfcxnfMKnMRlplzWZgFrEMRV6wwbuwwp HKZMD5Q/M3kBXGbuAzMnjAOyCEoSQD35lckFxJPCQrfYRU31ziS0gS17Jl45EXGV2mKP tZnYAnlEAAMwknLChdrMRal5udZmsKL4xzw7Bc7jSC5AhBLufY/JbkHmk6SHa8a/ykZV ZbOFupvk/h6gXUiZnAAfLClG7WCnDtbAYhptWX6Fu/Xqse6x5uslO7oVRGpuXpxF8c83 BsSDfbTSOse+qgnIN+niDQY8A95XgQjgBJw6jnZCOnGKHowWjVgTl5Fxm4AVOMoweISI w16w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VqzoC60s; 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 n5-v6si13726514pgg.186.2018.10.16.05.43.14; Tue, 16 Oct 2018 05:43:30 -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=VqzoC60s; 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 S1727086AbeJPUbx (ORCPT + 99 others); Tue, 16 Oct 2018 16:31:53 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:40026 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727002AbeJPUbx (ORCPT ); Tue, 16 Oct 2018 16:31:53 -0400 Received: by mail-oi1-f196.google.com with SMTP id j68-v6so17889622oib.7 for ; Tue, 16 Oct 2018 05:41:35 -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=vENAup6evfpT5UsjzZe6Xq6qPlB8onFIu1ydE2f8DG0=; b=VqzoC60s9nUHLrwgWUXEbvN02wNcCbsPzNSgZwf6ftHyauXHINBT5MVoPYO7e4+jIX 36WOY2sfcfuEqQVcpZydw5vsf2VanS3ubXX3lO8bU7GdLgmkebZMkjlSAaORntLMzBLT bCng8MvEwuhnveveCpgYli5syProAvp2ZSyrw= 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=vENAup6evfpT5UsjzZe6Xq6qPlB8onFIu1ydE2f8DG0=; b=pegAvL56u2KeXUH4A+bqWnhYB2c7Usag/OTGVYZzNXqitT34o3S/OI/q2Nw4X1XREk PzHmLApGIWVqDB2ky8qKtiVG/BNhWZHWzENVx1ag+YxA4YDBsfw8YDfL7xsWfRDxZiEb d2URB125r7+VV316ghw13lZQgVgz2li6jrFgK/MX9LH4QIpA7A0w1u2NaizUtQKY3AVo RQCggOz3noM1l1hjz76TktmM2AzvGPfHR6cHUbYw/FzWocPiK4bv9gm4xfEUYgtMgVd6 5pHFuzU2hfos3l2jZL3fz0JfBCXzA5+OVkpEzzBRptC171S29K669aXe1ON17ry3dNsB hUUw== X-Gm-Message-State: ABuFfoj3CEKHn86py8gL19N7tP1K+IitXROCROVnny2mciy1CWXSu3sm RygrP7qIQTRwDEiZBQANoyOjgQOjrryt/ebqUU7Afg== X-Received: by 2002:aca:dd08:: with SMTP id u8-v6mr10837712oig.94.1539693694647; Tue, 16 Oct 2018 05:41:34 -0700 (PDT) MIME-Version: 1.0 References: <20181013151707.32210-1-hch@lst.de> <20181013151707.32210-7-hch@lst.de> In-Reply-To: From: Benjamin Gaignard Date: Tue, 16 Oct 2018 14:41:23 +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 lun. 15 oct. 2018 =C3=A0 11:12, Benjamin Gaignard a =C3=A9crit : > > Le sam. 13 oct. 2018 =C3=A0 17:17, Christoph Hellwig a =C3= =A9crit : > > > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > > > Signed-off-by: Christoph Hellwig > > Reviewed-by: Benjamin Gaignard Christoph do you plan to merge this patch on your own tree ? or would like I put it directly in drm-misc-next branch ? Regards, Benjamin > > > --- > > 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_gd= p.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 | G= FP_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 > > > > -- > Benjamin Gaignard > > Graphic Study Group > > Linaro.org =E2=94=82 Open source software for ARM SoCs > > Follow Linaro: Facebook | Twitter | Blog --=20 Benjamin Gaignard Graphic Study Group Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog