Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E2C6C433EF for ; Sat, 2 Oct 2021 13:50:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0BC8661A7A for ; Sat, 2 Oct 2021 13:50:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0BC8661A7A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2AFF6E83D; Sat, 2 Oct 2021 13:50:30 +0000 (UTC) Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1ED86E83D; Sat, 2 Oct 2021 13:50:29 +0000 (UTC) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3D83E22247; Sat, 2 Oct 2021 15:50:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1633182627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9RBHsJgd0XITPQCFP1JPbGV3C58losMUiz+4xOzAv5M=; b=sWpD+le2geJ1RENKYX/MzbeT8E4/7KKF3TvoiwAxa8C3Kk5wcyGqwAc/QcfwHv2jZyjF1h SxZv89b4gsmNda8Un0jiiM2nxbCqYqYI2a5PnPyH2ljWfzHr3bcnstUuFEpFGWJeoO/JDF tFi/mRo2JlIcIpzwPPDW1yynBvZofYw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 02 Oct 2021 15:50:26 +0200 From: Michael Walle To: Robin Murphy , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: "Lukas F . Hartmann" , Marek Vasut , Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter Subject: Re: [PATCH v2 0/3] drm/etnaviv: IOMMU related fixes In-Reply-To: <20210907164945.2309815-1-michael@walle.cc> References: <20210907164945.2309815-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <06f099f8799acb9506826050a8610ffa@walle.cc> X-Sender: michael@walle.cc X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Am 2021-09-07 18:49, schrieb Michael Walle: > This patch series fixes usage of the etnaviv driver with GPUs behind a > IOMMU. It was tested on a NXP LS1028A SoC. Together with Lucas' MMU > patches > [1] there are not more (GPU internal) MMU nor (system) IOMMU faults on > the > LS1028A. > > [1] > https://lists.freedesktop.org/archives/etnaviv/2021-August/003682.html > > changes since v1: > - don't move the former dma_mask setup code around in patch 2/3. Will > avoid any confusion. > > Michael Walle (3): > drm/etnaviv: use PLATFORM_DEVID_NONE > drm/etnaviv: fix dma configuration of the virtual device > drm/etnaviv: use a 32 bit mask as coherent DMA mask > > drivers/gpu/drm/etnaviv/etnaviv_drv.c | 41 ++++++++++++++++++++------- > 1 file changed, 31 insertions(+), 10 deletions(-) ping? :) -michael