Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2228108pxk; Mon, 14 Sep 2020 07:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6vKN+2k9zEkufBH6kHJJoASMKOLKvKM4MC6QtOrBCsIAllXhu43zdFBPb8Y2i/e3K5ogk X-Received: by 2002:a05:6402:3075:: with SMTP id bs21mr17853383edb.236.1600095362355; Mon, 14 Sep 2020 07:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600095362; cv=none; d=google.com; s=arc-20160816; b=q/g1jqRe074inLVc8leIgml3L0sMbg5oA83jV9kt4ppPnpifAUZ1jm4Z3xcBtps5B4 Ya7ziY3yGQhmNJNp8hqUgVc8PTmsDttxsQlzt4VNrzMLe6tRbBR2veFHfFbUz43UOUub Txq/h3THm838HEY5J/wFfAa09N1a+JOxzSTrJWMgj28ldhZA2M2fZGIyJKC9KhXz+z+S gLYNfjPVV6o8Da+QgPgNel55SXN0y07U+2KhnGOlWT6Y5A4ANT/Z81tCoVdJARGYKsN3 C39OwyLfcXw/hd6bki37ZzTye3y6rq+njWiG58iSyRbjrWDcS24EDgjTU7XBxTsKyXFZ BF8Q== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wWR7H3WZih9ZGlGO6OHg+MKLXPw0ngda85sKeqyd2Cw=; b=PJ3w1k77frZ8E+9vMsSi/hG11a37OjtBWOL7R28DVmUpbQFIuVs04IgEjdnmEInQ1k Vjl8cCpA8ojdXgEDT7lphblixXN9xSAvIPWDOMBntTuGk53ayj84EB36G2vtnKO7D8hT 2Dj2bML5+8/JMX2JMhOjl3wwLTk4GUFuogoN+6dxHbjUo2zTVRWH3TxWKp/0YyomA8uR XDPV/0xxDvykQL5zGSLvyRVM7ENcaChf0LXdMIhX7XjvFwfL5xDbT/lvihelWos6TwO9 7qPmhiWheq6KT+Y1HEE7uABw/pM7UC86wntqJAmGQTNrt1v7TGydaLUmTrA+kN25bkn+ lyvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=ifsAl2Rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh20si6813580ejb.294.2020.09.14.07.55.39; Mon, 14 Sep 2020 07:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=ifsAl2Rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbgINOyq (ORCPT + 99 others); Mon, 14 Sep 2020 10:54:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726744AbgINOxw (ORCPT ); Mon, 14 Sep 2020 10:53:52 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00A71C06174A; Mon, 14 Sep 2020 07:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=wWR7H3WZih9ZGlGO6OHg+MKLXPw0ngda85sKeqyd2Cw=; b=ifsAl2RrU7KnR1yT2uKbMkDdPl XkvmPaEnJfciEndlUDneY+5JqCj8WbUratm+mlOoljGDnRpAblVkHJt5HxwZP88i+1ZeUkb3Q4kPB Q0hYtsUAwLyA82WBlvmT34I76tDhu2XUUL+Wln8SIqaM03pjRT6I+XF4gy3lM7lEonWUAF1QtO3nM lnZ4Uw3pVPI+sKkkInM9hz/97JfUtGChXNAZFyOdPolUcrlDaG+zPS8jdMSC2Jpjzh5wD/nEzvhrb HoIjUlPKR9uBUiALYFS7+3bG6ZWkYeISVrlgBbD0hWEq5oDJFe5+qpgK8BhcxaG9TxulgvC3/PSP2 H5/a4Rbw==; Received: from 089144214092.atnat0023.highway.a1.net ([89.144.214.92] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHpr7-0001jw-Ar; Mon, 14 Sep 2020 14:53:21 +0000 From: Christoph Hellwig To: Mauro Carvalho Chehab , Thomas Bogendoerfer , "James E.J. Bottomley" , Joonyoung Shim , Seung-Woo Kim , Ben Skeggs , Marek Szyprowski , Tomasz Figa , Matt Porter , iommu@lists.linux-foundation.org Cc: Stefan Richter , linux1394-devel@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, nouveau@lists.freedesktop.org, netdev@vger.kernel.org, linux-scsi@vger.kernel.org, linux-mm@kvack.org, alsa-devel@alsa-project.org Subject: [PATCH 03/17] drm/exynos: stop setting DMA_ATTR_NON_CONSISTENT Date: Mon, 14 Sep 2020 16:44:19 +0200 Message-Id: <20200914144433.1622958-4-hch@lst.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200914144433.1622958-1-hch@lst.de> References: <20200914144433.1622958-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DMA_ATTR_NON_CONSISTENT is a no-op except on PARISC and some mips configs, so don't set it in this ARM specific driver. Signed-off-by: Christoph Hellwig --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index efa476858db54b..07073222b8f691 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -42,8 +42,6 @@ static int exynos_drm_alloc_buf(struct exynos_drm_gem *exynos_gem, bool kvmap) if (exynos_gem->flags & EXYNOS_BO_WC || !(exynos_gem->flags & EXYNOS_BO_CACHABLE)) attr |= DMA_ATTR_WRITE_COMBINE; - else - attr |= DMA_ATTR_NON_CONSISTENT; /* FBDev emulation requires kernel mapping */ if (!kvmap) -- 2.28.0