Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3681921imm; Mon, 15 Oct 2018 02:15:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV62O9bthL/lczDxJhiPjqVavu2kmChngU1lHh24R3RnFVYE7dGaOz3KHFC9Ovjv4VnIcK734 X-Received: by 2002:a62:2fc1:: with SMTP id v184-v6mr16777412pfv.115.1539594918121; Mon, 15 Oct 2018 02:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539594918; cv=none; d=google.com; s=arc-20160816; b=evff5F2m5aruEeMoi+BMuECoTKMTpT+hj/khX1BOHQsrHHM8eRL0C7EEfN+xwY3NSE SioSHHR4CmHkFKNu0qIv09TaYLx+FTVsPUpPyzWflOBrE3Pu1u40gwrr7D0ZwpcupDrb Y0exmZgaOekq+kHU6kD90Q/bTUdxFu/Ye8+r3wXDZndvRROIYlf2Wr8GZBKMq4E2KpfV EeVyAeMVFTj5apgFB9FgUrW5ZpQgZnlJ29MtATWq/NeEhNFYuHV97SzJMUFzQq7WHSQm npOM2FTkJ7Y1rSFn3B13RZvKoKNqLC2PO6VB+0aExwlNviWqxq2UujdkD/V5Zox6gqn9 MAMQ== 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=rRrE5CHurdkeOx8wfUBHmstmIPcG68F2WjhHReGNFM0=; b=f1LAR0OUW3s23EYjSgRrb2gJDFBjfetS8TZ39jJIknepRvUOf4dXmTFGTgZQYw4oAz CKCEuHiffi15NxnG2g9abb/BsGspdm2jt5cQ/KH6M6YIryMYpcTNGdPkdFLuF2dd6Q0G 5H6iy2+SktX5pW5ZTCRiO+AcBcmZ7IK//s4temLjpJ/evwhsUVoq8dP5aX2rCXtrLcFp P+E4QTuTRJZYkHfrf0Dx14tZALQhoTxdLFhQGR5QA1rPKpJSabeXjYIVBcX/Tkj8xmx1 8rODfhZbjB2Pa2DMaZcDYazMfMnerTkZHZSvK0ojiGfrcGyTVqNmrigw8iWv/hLXjSmR a4rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ncdcai9d; 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 c14-v6si10130182pgm.556.2018.10.15.02.15.03; Mon, 15 Oct 2018 02:15:18 -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=Ncdcai9d; 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 S1726911AbeJOQ5a (ORCPT + 99 others); Mon, 15 Oct 2018 12:57:30 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34989 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbeJOQ53 (ORCPT ); Mon, 15 Oct 2018 12:57:29 -0400 Received: by mail-ot1-f65.google.com with SMTP id 14so14199575oth.2 for ; Mon, 15 Oct 2018 02:13:06 -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=rRrE5CHurdkeOx8wfUBHmstmIPcG68F2WjhHReGNFM0=; b=Ncdcai9djgHQu9REvHqnt1UFU62rDMzZ3QaAKkih5Ca+IM+zf0ysNOs+zH/JzVc81O VSoqAvkifEqgsX4JLnFi0pJxkV/G3ntFjgDpN/zZtj8febRoMTJhTIGTN47Qt4PedCwz mhijawyXZEzlYq7ERDZ/RjA50S8hg9YhUmwiQ= 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=rRrE5CHurdkeOx8wfUBHmstmIPcG68F2WjhHReGNFM0=; b=FTsuoeTMyyu9yfWFwTdJCkp3tQI/Pwo0dsSkaegJzjwEwlfVbVcieb+uRkSBrjYfsG vWALFaR50hhnbahIqweJwK+l+meQ1iYxfiQPxmD1+5NfdSHtkxNWF6yn7oF7y4TKvx76 V4n2Hufknt8yrJZsmwE8+oYI9CuYZfVcDdnYnmRLwi2xn+gAWN34ZzmSoDn7vcXN/eu2 XCews6XknokM2vQCHJpTVNGYiYixlptmbRhHOmTSIxbHFRAI5OY9Sf/etuYPIWD4TTqp eHYuqfRwwRwv4bM9j4LVesWPT2aLwGyb0mKkF5E3VBqvb9ubKj9921EV2RUjUYzRljN5 L08A== X-Gm-Message-State: ABuFfoilPkIuDKAT5hRMJ13pYCOv9TTiK340YdcTszTdgWbwM/BSx201 qZ/OUsraHvMCEyRPlEtriBX9oK0BjOYQumEjxVuHwA== X-Received: by 2002:a9d:cd4:: with SMTP id o20mr10965740otd.207.1539594785847; Mon, 15 Oct 2018 02:13:05 -0700 (PDT) MIME-Version: 1.0 References: <20181013151707.32210-1-hch@lst.de> <20181013151707.32210-8-hch@lst.de> In-Reply-To: <20181013151707.32210-8-hch@lst.de> From: Benjamin Gaignard Date: Mon, 15 Oct 2018 11:12:55 +0200 Message-ID: Subject: Re: [PATCH 7/8] media: sti/bdisp: don't pass GFP_DMA32 to dma_alloc_attrs 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:18, 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/media/platform/sti/bdisp/bdisp-hw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/platform/sti/bdisp/bdisp-hw.c b/drivers/media/= platform/sti/bdisp/bdisp-hw.c > index 26d9fa7aeb5f..4372abbb5950 100644 > --- a/drivers/media/platform/sti/bdisp/bdisp-hw.c > +++ b/drivers/media/platform/sti/bdisp/bdisp-hw.c > @@ -510,7 +510,7 @@ int bdisp_hw_alloc_filters(struct device *dev) > > /* Allocate all the filters within a single memory page */ > size =3D (BDISP_HF_NB * NB_H_FILTER) + (BDISP_VF_NB * NB_V_FILTER= ); > - base =3D dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL | GFP_DMA, > + base =3D dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, > DMA_ATTR_WRITE_COMBINE); > if (!base) > return -ENOMEM; > -- > 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