From patchwork Tue Nov 28 18:29:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13471539 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6EC0C4167B for ; Tue, 28 Nov 2023 18:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OvwlwH/6Pa0x9sNOEhBIyoEf3odNBKS2okILwFuEkVA=; b=Btex+KvcWEbeSt /xwSerSKRCUJWgReUkxCD4SJpN+9wU6hMXupHoV3G/tc98SdD5ckmklQvPcEDAEARnHgHcwbWsHZY o4HTGP35keibDl1/mLsVnBmV0cNziTjIthpAYUQ/zRM9F8I4WOcFzxHHE72pSAc4i8UtDTnvQlAa6 OtBChB8xhODtD4Ao2geK3WPbHjkhGs7bVyg3mvtoRK2m0lNdcoF/7oaiM6WESiPEs+ZcyGSiUS5Is WJ8lBb2Cz5HyI/YFzMoElzadatGZAVndHYaIomBxdOOt2UVrhltbJZJ9FL4zzSr3d5ZRFgFF2Xfyn qRFgHDoUsjdBY/QRwc0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r82pw-0065I3-0l; Tue, 28 Nov 2023 18:29:32 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r82pt-0065GS-17 for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 18:29:30 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f4d4:eef9:4487:4eb1]) by albert.telenet-ops.be with bizsmtp id FuVG2B00N2jytoH06uVGS7; Tue, 28 Nov 2023 19:29:23 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1r82pQ-00AHWu-6F; Tue, 28 Nov 2023 19:29:16 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1r82pg-00B9ob-7K; Tue, 28 Nov 2023 19:29:16 +0100 From: Geert Uytterhoeven To: Frank Binns , Donald Robson , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sarah Walker Cc: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drm/imagination: DRM_POWERVR should depend on ARCH_K3 Date: Tue, 28 Nov 2023 19:29:12 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_102929_540959_6C34F931 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Imagination Technologies PowerVR Series 6 GPU is currently only supported on Texas Instruments K3 AM62x SoCs. Hence add a dependency on ARCH_K3, to prevent asking the user about this driver when configuring a kernel without Texas Instruments K3 Multicore SoC support. Fixes: 4babef0708656c54 ("drm/imagination: Add skeleton PowerVR driver") Signed-off-by: Geert Uytterhoeven Reviewed-by: Javier Martinez Canillas Reviewed-by: Nishanth Menon --- drivers/gpu/drm/imagination/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/imagination/Kconfig b/drivers/gpu/drm/imagination/Kconfig index 3bfa2ac212dccb73..af492dbd9afd4ed9 100644 --- a/drivers/gpu/drm/imagination/Kconfig +++ b/drivers/gpu/drm/imagination/Kconfig @@ -6,6 +6,7 @@ config DRM_POWERVR depends on ARM64 depends on DRM depends on PM + depends on ARCH_K3 || COMPILE_TEST select DRM_EXEC select DRM_GEM_SHMEM_HELPER select DRM_SCHED