Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4576834pxu; Mon, 21 Dec 2020 16:47:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyO6F1jMQSZlnNgogx5dLj5bdYrg9eEk6J2vbszbSkd0ck5m+V1io2eR+glgqRIR5L6qfcz X-Received: by 2002:a17:907:1010:: with SMTP id ox16mr17805459ejb.439.1608598044535; Mon, 21 Dec 2020 16:47:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608598044; cv=none; d=google.com; s=arc-20160816; b=W5/QOXLy5wXN6fd+0A8EUNGZjHgX9VMEa9a1uB83Om5YfehaxLoGa/iGp5G2XZk+nE 4g9UMGnW2Qb+eQgmpYbqHt/kCH1oaSyxWJ8QoUxkkZ2YyxCnjggYRD7L7/M0n2rrLXpG iooT2cu05SMIMCaHYBLdFuXwg0xnhM5lsZbcdHc+IKUBQ59qczR4njNfyuOu71fWYgWI 2JCDUctIrWmDdndHNvbuACu+NnVceGqrIgKO2VldAj8h8pveQndKpOdFgKGJoDdx7fvr izgJSpLeCZiYYCDSLHUxj9LQZfSDLUdJrmaQBM4E8noOMH8UyO2uvK1uT348sNZIm5Oi 5Y5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=uRl55kgW9XKzL1b1lRBQjM6Pzb0e5uOth9CmcyHiqfY=; b=VvGROPeTfVETaQPTxqpa9IWHJp9Y2mkh1jBv0ag4HcYnk9tjmqvOM0TFYbC9tAODc7 Zc+yj8jTfIIHpOa4s+lCl/dil/X7qEbejIGz4LX5BsGwprfUCTwJ38h2RQzk/5nJl36Y 03KX/I2EFkNQXg5Im8FWrQGd88vAdIon53DWDsmVjhyVBMl2ehIapqS2fBVcI9X/cvWx 3aeCQrSmIsGxZcjm8VfpSrafW4BrfZmbTUQhKh2ihkJw0lvyHSc6jwRQukib4hF/vRTz Vz7SgZGBpnhsln9+uAMW5bDghay5eVMLKVy5midVAlclj++jDs4EY6dUgz2Cx56l5TZk I8VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=kFwtXv1s; 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 cm2si11226565edb.472.2020.12.21.16.47.02; Mon, 21 Dec 2020 16:47:24 -0800 (PST) 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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=kFwtXv1s; 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 S1726630AbgLVApz (ORCPT + 99 others); Mon, 21 Dec 2020 19:45:55 -0500 Received: from m43-15.mailgun.net ([69.72.43.15]:18661 "EHLO m43-15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726620AbgLVApy (ORCPT ); Mon, 21 Dec 2020 19:45:54 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1608597930; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=uRl55kgW9XKzL1b1lRBQjM6Pzb0e5uOth9CmcyHiqfY=; b=kFwtXv1sstzcMYVTiAkUuaLbPVmcdS1iFa20+1WMCoxY38ptkH2p1Ww9n6kj8ZfYbUqaqeL7 ouTeL3CS9lJ0YrDxw1NU0aG7P7o+udzGMwnAM1vIGNh+a2FMwBcUZF6t2JxDvv3MwxdGwems 0NaLA8bh2W5bz8BEVB+B6ZOuqws= X-Mailgun-Sending-Ip: 69.72.43.15 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 5fe14189b00c0d7ad406c3e7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 22 Dec 2020 00:44:57 GMT Sender: isaacm=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E2A83C43468; Tue, 22 Dec 2020 00:44:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from isaacm-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: isaacm) by smtp.codeaurora.org (Postfix) with ESMTPSA id 900D2C43463; Tue, 22 Dec 2020 00:44:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 900D2C43463 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=isaacm@codeaurora.org From: "Isaac J. Manjarres" To: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: "Isaac J. Manjarres" , will@kernel.org, joro@8bytes.org, pdaly@codeaurora.org, pratikp@codeaurora.org, kernel-team@android.com, robin.murphy@arm.com Subject: [PATCH v2 6/7] drm/panfrost: Add dependency on io-pgtable-arm format module Date: Mon, 21 Dec 2020 16:44:35 -0800 Message-Id: <1608597876-32367-7-git-send-email-isaacm@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608597876-32367-1-git-send-email-isaacm@codeaurora.org> References: <1608597876-32367-1-git-send-email-isaacm@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Panfrost DRM driver depends on the availability of the ARM LPAE io-pgtable format code to work properly. In preparation for having the io-pgtable formats as modules, add a "pre" dependency with MODULE_SOFTDEP() to ensure that the io-pgtable-arm format module is loaded before loading the Panfrost DRM driver module. Signed-off-by: Isaac J. Manjarres --- drivers/gpu/drm/panfrost/panfrost_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c index 83a461b..7294622 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -704,3 +704,4 @@ module_platform_driver(panfrost_driver); MODULE_AUTHOR("Panfrost Project Developers"); MODULE_DESCRIPTION("Panfrost DRM Driver"); MODULE_LICENSE("GPL v2"); +MODULE_SOFTDEP("pre: io-pgtable-arm"); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project