Message ID | 20180726231624.21084-5-digetx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A453A180E for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Jul 2018 07:01:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 979B12B4C9 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Jul 2018 07:01:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BAA52B4CC; Fri, 27 Jul 2018 07:01:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 74BE02B4C9 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 27 Jul 2018 07:01:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 682D66E8F1; Fri, 27 Jul 2018 07:01:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C8776E872; Thu, 26 Jul 2018 23:22:36 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id b22-v6so2332822lfa.3; Thu, 26 Jul 2018 16:22:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jpJjsYXIvl23bc0ZxhI6uH2ME068VxWOkU6fnQDiSwM=; b=YCkUxQmmqYelutSSaVH0zUoKSidsyLjn9AmWm6/Wg+2bKeMFanMLvpfTJ/b5y5FI5Z Y+hf5+W8jOv2/n6wgoFWPHtVxNGHi339FDfGt7OzVZQvkUGJvkWFtBj1d9RQkdHLSfRw TYVWkmNSbGdhh2WoUW3Uce2RCco3+751Afl2MmVAQCjJRWIONjToaPSYqb2zmg5inVrZ 9NZRWpuO1igMVsVdz8h6LmdPv3wy7wsxLbHKgd34CYGjy8VeLRIGbCr6zhnzy2NULZ1X OCkibFxW50kY8zHK/QwDXQqhWTB8XAbQSIpgq5cusYo6nqyNLOqFiqQVi5k+J2OMY5g8 ByDg== X-Gm-Message-State: AOUpUlETOScZfWnyLnm7409DbbWO4YEHszaJR5YQNQZiLjeeoNCl91BA MUSExmM7+Nc6WkbEdK2tJGo= X-Google-Smtp-Source: AAOMgpcsBbd+MaQyBLzVEe83DBbkinhMexhJe9u+Bx9P7RrJyyzwBvqtqnGJ2nS4uArkAk5ITFdW+Q== X-Received: by 2002:a19:a5c5:: with SMTP id o188-v6mr2651924lfe.149.1532647354626; Thu, 26 Jul 2018 16:22:34 -0700 (PDT) Received: from localhost.localdomain (109-252-90-13.nat.spd-mgts.ru. [109.252.90.13]) by smtp.gmail.com with ESMTPSA id q15-v6sm411541ljg.62.2018.07.26.16.22.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 16:22:34 -0700 (PDT) From: Dmitry Osipenko <digetx@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Mikko Perttunen <cyndis@kapsi.fi>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Ben Skeggs <bskeggs@redhat.com>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Joerg Roedel <joro@8bytes.org>, Nicolas Chauvet <kwizart@gmail.com> Subject: [RFC PATCH v1 4/6] gpu: host1x: Avoid implicit DMA backing with IOMMU Date: Fri, 27 Jul 2018 02:16:22 +0300 Message-Id: <20180726231624.21084-5-digetx@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180726231624.21084-1-digetx@gmail.com> References: <20180726231624.21084-1-digetx@gmail.com> X-Mailman-Approved-At: Fri, 27 Jul 2018 07:01:20 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: devicetree@vger.kernel.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, iommu@lists.linux-foundation.org, linux-tegra@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Resolve unwanted DMA backing with IOMMU
|
expand
|
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index afabd33a48d9..0966415d4ccd 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -361,6 +361,7 @@ static int host1x_remove(struct platform_device *pdev) static struct platform_driver tegra_host1x_driver = { .driver = { .name = "tegra-host1x", + .no_implicit_iommu = true, .of_match_table = host1x_of_match, }, .probe = host1x_probe,
Host1x driver manages IOMMU by itself, backing DMA with IOMMU by the drivers core breaks the Host1x driver. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> --- drivers/gpu/host1x/dev.c | 1 + 1 file changed, 1 insertion(+)