From patchwork Fri Mar 6 09:25:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Howard Mitchell X-Patchwork-Id: 1250157 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hmbedded.co.uk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Yj3860wrz9sSK for ; Fri, 6 Mar 2020 20:28:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AD10720774; Fri, 6 Mar 2020 09:28:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u+hVuLmcmckS; Fri, 6 Mar 2020 09:28:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7CAAD204DB; Fri, 6 Mar 2020 09:28:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CCADF1BF842 for ; Fri, 6 Mar 2020 09:28:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C9DFA87598 for ; Fri, 6 Mar 2020 09:28:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5j7h0jYBBRl7 for ; Fri, 6 Mar 2020 09:28:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from avasout03.plus.net (avasout03.plus.net [84.93.230.244]) by whitealder.osuosl.org (Postfix) with ESMTPS id 63FC68758F for ; Fri, 6 Mar 2020 09:28:09 +0000 (UTC) Received: from howard-VirtualMint.home.gateway ([212.159.100.40]) by smtp with ESMTPSA id A9GnjDmUuNXR9A9GxjkOeP; Fri, 06 Mar 2020 09:28:04 +0000 X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=Et9JURUA c=1 sm=1 tr=0 a=VGUxJGZ/H8UixBFj6Q9CRg==:117 a=VGUxJGZ/H8UixBFj6Q9CRg==:17 a=eIRpCU4CAAAA:8 a=R3IXrxi5P2_m5ZGGsjYA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=KRcjph3C3QkoscwFyxAa:22 X-AUTH: oscars+hm@:46500 From: Howard Mitchell To: buildroot@busybox.net Date: Fri, 6 Mar 2020 09:25:03 +0000 Message-Id: <20200306092504.30340-1-hm@hmbedded.co.uk> X-Mailer: git-send-email 2.17.1 X-CMAE-Envelope: MS4wfDNkUamXecBKRUcMD4aIwTFDJ+X2GzFth8KPC8s1VgvzV7Ea3vQpWjY1NvQ1MDdI2A03mGShddASAko3w49Ao9YG+Bkfh50sMpkRzw0xVZz6/hk9j1uZ xlLiRG6umQUJo8zn6QsVpu1tFIn0EHQEruPxBYq/mdRvHDyDN8j6mYBdH2r47UgbUQ6thB9vpBEMcnEQTQJOeK8NAFwgRjweRPc= Subject: [Buildroot] [PATCH 1/2] package/mesa3d: select vc4 and kmsro driver for gallium v3d X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Howard Mitchell MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Currently, when building for rpi2/3 it is only necessary to to select vc4 to get acceleration working. However, when building for rpi4 v3d, vc4 and kmsro have to be selected. Therefore this commit forces the selection of vc4 and kmsro when v3d is selected. Signed-off-by: Howard Mitchell --- package/mesa3d/Config.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 13e516e452..3950170533 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -257,12 +257,10 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D bool "Gallium v3d driver" depends on BR2_arm || BR2_aarch64 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - select BR2_PACKAGE_LIBDRM_VC4 - select BR2_PACKAGE_MESA3D_OPENGL_EGL + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO help - Driver for Broadcom VC6 (rpi4) GPUs (needs kmsro and vc4). + Driver for Broadcom VC6 (rpi4) GPUs. It requires a kernel 4.18+ with DRM V3D support enabled: