From patchwork Mon Sep 30 06:01:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1169130 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=t-online.de 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 46hWxr0zH3z9sPJ for ; Mon, 30 Sep 2019 16:01:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1467520348; Mon, 30 Sep 2019 06:01:49 +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 dafQeNuV5BcT; Mon, 30 Sep 2019 06:01:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 493BF20402; Mon, 30 Sep 2019 06:01:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 45D941BF575 for ; Mon, 30 Sep 2019 06:01:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 40B2920402 for ; Mon, 30 Sep 2019 06:01:45 +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 qOi9L4T2sVWT for ; Mon, 30 Sep 2019 06:01:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by silver.osuosl.org (Postfix) with ESMTPS id D631120348 for ; Mon, 30 Sep 2019 06:01:43 +0000 (UTC) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout02.t-online.de (Postfix) with SMTP id 3AEB1418A233; Mon, 30 Sep 2019 08:01:41 +0200 (CEST) Received: from fli4l.lan.fli4l (rk9YysZXZhHUinmeXwmfKPyr1C82lTrcE-jOaKMnDxYwFidok-fN0N7QqCybTDjQfR@[91.58.11.187]) by fwd23.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1iEokZ-3BYGQq0; Mon, 30 Sep 2019 08:01:35 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:56112) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1iEokY-0006SD-NE; Mon, 30 Sep 2019 08:01:35 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 30 Sep 2019 08:01:34 +0200 Message-Id: <20190930060134.6503-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-ID: rk9YysZXZhHUinmeXwmfKPyr1C82lTrcE-jOaKMnDxYwFidok-fN0N7QqCybTDjQfR X-TOI-MSGID: cdcbd6b9-9307-4320-8bc1-a7adac46e093 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: implement option for Gallium VDPAU state tracker 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: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Dependencies are too complex to have them handled automatically: - needs mesa3d platform x11: https://cgit.freedesktop.org/mesa/mesa/tree/meson.build?h=19.2#n452 - needs specific gallium drivers: https://cgit.freedesktop.org/mesa/mesa/tree/meson.build?h=19.2#n459 Fixes: http://autobuild.buildroot.net/results/a2c/a2c120193f5bace3a8bbcfa728dae7e290e15d6c/ Signed-off-by: Bernd Kuhls Reviewed-by: Romain Naour --- package/mesa3d/Config.in | 16 ++++++++++++++++ package/mesa3d/mesa3d.mk | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index d9a705f991..de5ab4935a 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -222,6 +222,22 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL virgl is the 3D acceleration backend for the virtio-gpu shipping with qemu. +config BR2_PACKAGE_MESA3D_VDPAU + bool "Gallium VDPAU state tracker" + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI + select BR2_PACKAGE_LIBVDPAU + help + VDPAU state tracker (needs r600, radeonsi or nouveau gallium drivers). + +comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeonsi or nouveau" + depends on !BR2_PACKAGE_XORG7 || \ + !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) + config BR2_PACKAGE_MESA3D_XVMC bool "Gallium XvMC state tracker" depends on BR2_i386 || BR2_x86_64 diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 35fe2bdbe5..8b0aba4556 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -230,7 +230,7 @@ else MESA3D_CONF_OPTS += -Dlibunwind=false endif -ifeq ($(BR2_PACKAGE_LIBVDPAU),y) +ifeq ($(BR2_PACKAGE_MESA3D_VDPAU),y) MESA3D_DEPENDENCIES += libvdpau MESA3D_CONF_OPTS += -Dgallium-vdpau=true else