From patchwork Tue Apr 27 12:04:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1470665 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.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=boundarydevices.com header.i=@boundarydevices.com header.a=rsa-sha256 header.s=google header.b=e3BgPzjF; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FV0nr62VJz9sRf for ; Tue, 27 Apr 2021 22:05:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 93B6F83BD4; Tue, 27 Apr 2021 12:04:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1PpPVEvqIYFK; Tue, 27 Apr 2021 12:04:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id DC6A583BD5; Tue, 27 Apr 2021 12:04:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 35DAD1BF5F6 for ; Tue, 27 Apr 2021 12:04:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 32552607EE for ; Tue, 27 Apr 2021 12:04:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=boundarydevices.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lv03Mkfg5gTw for ; Tue, 27 Apr 2021 12:04:44 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by smtp3.osuosl.org (Postfix) with ESMTPS id B15DA607EB for ; Tue, 27 Apr 2021 12:04:43 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id e5so30558356wrg.7 for ; Tue, 27 Apr 2021 05:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XV6QDCeT0B6+coVIANhkwKyKLYz3MUHeAjsCIt7uVIc=; b=e3BgPzjFnjUqwcfS/IoLKJm9Yvd0T9EZKv3q92oXtZiQUXtq+zXPnO2v1v8dmHPA3Q 0penW0shYPkpOeyeNrXrEHvYDsLIWnaW/5JiNJ3AX5HETxK6SPmmxnWR4NlHUAP/7j9A UEi1DbQTzCrJS7Ar2PRJvltcu76xljrIl+laY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XV6QDCeT0B6+coVIANhkwKyKLYz3MUHeAjsCIt7uVIc=; b=as+E0rsEpPmMe3cafjvnfhYpGBx3aCJAoJnXB1kS24QEtrzL4Htxf/UPZbjUHxJx8L jcb481pWEuv3uZCFh+N4P0t5tAUJ25+IPhSr1H5U2BItoL3FbN3z9pNay8pvqJ4H+xRD qeDOfHJYOPdYemeRol8xUHV+vcLcLb0JLtZMD77Y94jX/FxDcvwueuNYdGrUfQrlBsIE /Wfxa67nIvnTgS+SKqopu2+6bI3+VinFRUiDyvKoceJQAM6xxvSudL+fbhM2TO5GA6tc xlPRYmAYhhbJliYaXLoibi2QRdwkQGlxCfEh/+yR49CzojP1NBLWmMFBqJEaN82o30bR MRkQ== X-Gm-Message-State: AOAM531Vj1kUjezVxpkSCsbaWHvDyAodq/JkYbZP5kOADdmAt5Itwlwj 8qp/8dfyB/JiYI38Iewn9nxCU2dAw3DcN073 X-Google-Smtp-Source: ABdhPJwqT7EDyVSINg/SsHJZludbVQB8+OJiqn32VjsxXOXlOFFQphzjZ9Abn9pF7pEIN483eA+6Ug== X-Received: by 2002:a5d:6d48:: with SMTP id k8mr28768225wri.93.1619525081255; Tue, 27 Apr 2021 05:04:41 -0700 (PDT) Received: from p1g2.home (2a01cb000f557f0046a6b886ee605a0e.ipv6.abo.wanadoo.fr. [2a01:cb00:f55:7f00:46a6:b886:ee60:5a0e]) by smtp.gmail.com with ESMTPSA id f24sm2366885wmb.32.2021.04.27.05.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 05:04:40 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Tue, 27 Apr 2021 14:04:38 +0200 Message-Id: <20210427120438.1192346-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/freescale-imx/imx-gpu-viv: force wayland backend for all i.MX8 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: Gary Bisson Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - As Vivante blobs only support Wayland for all i.MX 8 - Previously was only checking on IMX8M platform, allowing other platforms to select another backend which was wrong Signed-off-by: Gary Bisson --- Hi, I know creating such empty config is not recommended, but it appeared to be the cleanest solution not to copy the platform names many times. But I'm open to another approach, let me know. Regards, Gary --- package/freescale-imx/imx-gpu-viv/Config.in | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/package/freescale-imx/imx-gpu-viv/Config.in b/package/freescale-imx/imx-gpu-viv/Config.in index cca2689905..ba1baa6b7b 100644 --- a/package/freescale-imx/imx-gpu-viv/Config.in +++ b/package/freescale-imx/imx-gpu-viv/Config.in @@ -29,6 +29,15 @@ config BR2_PACKAGE_IMX_GPU_VIV if BR2_PACKAGE_IMX_GPU_VIV +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL_ONLY + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X + choice prompt "Output option" help @@ -40,19 +49,19 @@ config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 bool "X11" depends on BR2_PACKAGE_XORG7 # The i.MX8 blob doesn't support X11 output - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + depends on !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL_ONLY select BR2_PACKAGE_XLIB_LIBXDAMAGE select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXFIXES comment "X11 backend needs Xorg package" depends on !BR2_PACKAGE_XORG7 - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + depends on !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL_ONLY config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB bool "Framebuffer" # The i.MX8 blob doesn't support FB output - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + depends on !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL_ONLY config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL bool "Wayland"