Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3281840pxk; Tue, 15 Sep 2020 15:14:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3/7ZZTbYLsEUyWtlXOSvPbVp/yoxGp2nu9TJ+/t8m0SVepSmbswwUaacOkhMg1tNBAF03 X-Received: by 2002:a50:9dc8:: with SMTP id l8mr24885401edk.58.1600208092215; Tue, 15 Sep 2020 15:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600208092; cv=none; d=google.com; s=arc-20160816; b=OLjVkxcr2aagLZ/80Unrm6eerycb1Ui7P7x/r5g6iMdnJtL9NfFzpTqrlwahPkUZsP LvMQHWi0hLQIWL3pGFWM+lrkXlcwSvELAz7IU8h0HVIbPaXkMcQlKX1YhXlQ62n36yD1 9LhdXD7GAbKjySj5o/YuXQ5IZdKJrpkavrF0CBqtKDaPZsYVxMN1E5rgRNPfqVc9fhGv G57i0VABpHrSARYdV/bLsqSAjdtbjP4gMFwC9/tZhmy3yLH1pcXF2QV+NdOYUH/2UeI+ jEE5IfSdGCK56qWzq1ZCIczknHl5NcelIffzsLpi0skiRMLgyYCBiPi7t0F3XuoG89TA clnQ== 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=eona0AYiSh/znPkSOpw3Nw8CD1xNwL4V1h0yfTAB4Hk=; b=04uIbpxev63ngNmH2HsdhpAbn0GY5iN76wyS7rreLpqIlYFwHNKFOxEFXDWSelY1bP t+LNTgJwUJ5i7E72qIlBD9GnN5E03KuyhDgJaKpuoOBWO7Ruz10L/7sXpk051EkFH/2U mOwZBH2STADM4M/RLm62xH23gmAFEsURaD11xAxnJ1+7HShe9hxF9nDkrRMkD3ktyLeT Q3nfJNth4AIz6b5xjzV+7GW1vvsClS2JvhlW0rmz3SFmiuMTy+w563kS6jeEPDczdi9Y u2atn/9u9S/QN2Eb+PlBgcm6aUbumjqsFK7SYDZ1EL7UucxFHACupyVogYr3kcXgZTn4 zcCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="Wsus/ivq"; 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 kt6si10243325ejb.276.2020.09.15.15.14.29; Tue, 15 Sep 2020 15:14:52 -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="Wsus/ivq"; 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 S1727956AbgIOWMf (ORCPT + 99 others); Tue, 15 Sep 2020 18:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbgIOQnC (ORCPT ); Tue, 15 Sep 2020 12:43:02 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7770AC061788; Tue, 15 Sep 2020 09:00:34 -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=eona0AYiSh/znPkSOpw3Nw8CD1xNwL4V1h0yfTAB4Hk=; b=Wsus/ivqm8grfYeSP6z68xdX1x /cIm0jtfGbhk+VmVtqSQ/iY5d+5djYDyuxa98INla0l2ETi1N1/0w3Ed/q3rtAKOzQ3uqj19Eys1O +6nIyWduDpAErX2tZFPICqd6V05JwBWMeGOCnu6ggpHA8J1vk4TnT/p8eBFTfM5QUctfAAYPHJkgk 5jWuDY2Vb2n+Cu977sssSRrWhpE1cTmcpeCYbGl08RhkwlS2gldOQ+gcQVR3AT//4wh6UZmOTq9nY mGq2nXZFdSXvf0xLyK6EEBxoSCZuO0CLFHLLqiBlPkIg92/ahUA3uyJSYhU6hc5HQjGFSIktXN22R m3mk/5qQ==; 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 1kIDNH-0003mr-4Y; Tue, 15 Sep 2020 16:00:07 +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/18] drm/exynos: stop setting DMA_ATTR_NON_CONSISTENT Date: Tue, 15 Sep 2020 17:51:07 +0200 Message-Id: <20200915155122.1768241-4-hch@lst.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915155122.1768241-1-hch@lst.de> References: <20200915155122.1768241-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 PA-RISC and a few 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