From patchwork Thu Dec 3 23:13:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 336963 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp698879ilb; Thu, 3 Dec 2020 15:13:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJydjp/vslHkyL/7rPupHHF4oQ0qwByPEtml99wQjowSsk1IBRGD1i7qS8HrCx8i2w5ErqXO X-Received: by 2002:a17:90a:a608:: with SMTP id c8mr1329415pjq.161.1607037236751; Thu, 03 Dec 2020 15:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607037236; cv=none; d=google.com; s=arc-20160816; b=VMZTjZdxtKYjBwtYvOUqmysQuJgE9xStiWeUQ0+qW3uc0W8fHHV4XPNcsGpr0oeKNw 5XdFaYLceawJp9V69w/HNGFT6NOh/DpLIVq2gEkb0S8pxUuuO589nxqoHaUJvHs72TJ/ QYe+D/5EbvQfOUdV94TEgIfyr5xAfPfaFJ+pHUoCwnixSjIWzi9Ihj1RHidCnO46wFwg 8FC6TV8Y9+9OeDhfo00/IqTV40BLbge9hzti4cRdv+aPtipOemWSLmbymnX2uf6wZVMJ rQ8z302QTu2jdx9Rp3bAAplUcDaWT878atpiojrZwWwhjn1BnOqZOSEt6Cun4woDZGmn haag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=5LsTAmYI/nyRvHhWtSVUiXzr2mxcxSt2FI/5W/d+LE4=; b=OdIQztp/Z1eqJO3bv9vav2gyWYex7g4I7Mv6IjqDhrt8tPPRRctRFmzrTQAISGB/WL ax1wNDul+313WjbT4zqW7PW9OyN8RzXtR2Fe9PnP5VXTEqlA00W8RpX42LXoV04GviQO cjK1tydKmT6tM3Z9c7AR6D/sunz+2hP19ZeKALfUucG2hTqFiQCK4qkXxY0paJZb959e IKpyMhizPjFP4LvXgqU9WCqJ/qCRaTyZmmhlN2IFuE4PNnJ8qw7qNIVcwRVkC1MyeOYi Jvwi6X4J6f+AOLeIfpQhDAQnYQAbGm6uXo77hO+ElW4U7yiLqm6cKIJnAeNqyqxbWwlg Ab3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 184si342154pfe.39.2020.12.03.15.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 15:13:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEF2B6EC64; Thu, 3 Dec 2020 23:13:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83A066EC63; Thu, 3 Dec 2020 23:13:52 +0000 (UTC) From: Arnd Bergmann Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Bjorn Andersson , Jordan Crouse Subject: [PATCH] drm/msm: add IOMMU_SUPPORT dependency Date: Fri, 4 Dec 2020 00:13:38 +0100 Message-Id: <20201203231346.1483460-1-arnd@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 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: , Cc: Arnd Bergmann , Jonathan Marek , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Tanmay Shah , dri-devel@lists.freedesktop.org, Vara Reddy , freedreno@lists.freedesktop.org, Georgi Djakov , Chandan Uddaraju Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann The iommu pgtable support is only available when IOMMU support is built into the kernel: WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE Depends on [n]: IOMMU_SUPPORT [=n] Selected by [y]: - DRM_MSM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_QCOM [=y] || SOC_IMX5 || ARM && COMPILE_TEST [=y]) && OF [=y] && COMMON_CLK [=y] && MMU [=y] && (QCOM_OCMEM [=y] || QCOM_OCMEM [=y]=n) Fix the dependency accordingly. There is no need for depending on CONFIG_MMU any more, as that is implied by the iommu support. Fixes: b145c6e65eb0 ("drm/msm: Add support to create a local pagetable") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/msm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index e5816b498494..dabb4a1ccdcf 100644 --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -4,8 +4,8 @@ config DRM_MSM tristate "MSM DRM" depends on DRM depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST) + depends on IOMMU_SUPPORT depends on OF && COMMON_CLK - depends on MMU depends on QCOM_OCMEM || QCOM_OCMEM=n select IOMMU_IO_PGTABLE select QCOM_MDT_LOADER if ARCH_QCOM