From patchwork Thu Feb 15 12:50:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13558345 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 92FB5C48BC4 for ; Thu, 15 Feb 2024 12:50:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BB3D410E7AE; Thu, 15 Feb 2024 12:50:19 +0000 (UTC) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id BED5410E7E4 for ; Thu, 15 Feb 2024 12:50:17 +0000 (UTC) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:ac52:3a54:2a84:d65a]) by xavier.telenet-ops.be with bizsmtp id nQqA2B00K0LVNSS01QqALE; Thu, 15 Feb 2024 13:50:15 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rabBj-000gwk-8T; Thu, 15 Feb 2024 13:50:10 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rabBq-00HVIF-HO; Thu, 15 Feb 2024 13:50:10 +0100 From: Geert Uytterhoeven To: Frank Binns , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sarah Walker , Donald Robson Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Javier Martinez Canillas , Nishanth Menon Subject: [PATCH v2] drm/imagination: DRM_POWERVR should depend on ARCH_K3 Date: Thu, 15 Feb 2024 13:50:09 +0100 Message-Id: <6be2558b8462fc08095c24c9257563ab5f3ae013.1708001398.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Using the Imagination Technologies PowerVR Series 6 GPU requires a proprietary firmware image, which is currently only available for 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 --- v2: - Add Reviewed-by, - Clarify the firmware dependency. --- 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