From patchwork Wed Apr 26 21:55:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randolph Sapp X-Patchwork-Id: 23051 X-Patchwork-Delegate: reatmon@ti.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0611C77B7F for ; Wed, 26 Apr 2023 21:55:48 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web10.5895.1682546145169824139 for ; Wed, 26 Apr 2023 14:55:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=LFtaNX3k; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: rs@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33QLtfUs029026; Wed, 26 Apr 2023 16:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682546141; bh=t5CCJfILn64rVgmcrLibwe5k2FFR6dodGtu0gI3WCr8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LFtaNX3kGRG3Ms8Cq5Vp5gNAyFSiFwGRCA2pIdgTH76fHEXarkFiBPF3W5fLeIcld 41ETfW1X4hdlHyutmPXD4uRYAxz+gJPpfHaGhlne0MfMZvZfDjH+7RwwvMMqdekrkU p93isDm77fGy3AJ35uOv+V1ogWKJ9vAy7u63Pr+Q= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33QLtfJx008874 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Apr 2023 16:55:41 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 26 Apr 2023 16:55:41 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 26 Apr 2023 16:55:41 -0500 Received: from rs-desk.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33QLtf4A081011; Wed, 26 Apr 2023 16:55:41 -0500 From: To: , , , CC: , Randolph Sapp Subject: [meta-ti][kirkstone][PATCH 1/4] ti-img-rogue-umlibs: bump srcrev, add vulkan, update deps Date: Wed, 26 Apr 2023 16:55:35 -0500 Message-ID: <20230426215538.3502212-2-rs@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230426215538.3502212-1-rs@ti.com> References: <20230426215538.3502212-1-rs@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 26 Apr 2023 21:55:48 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/16436 From: Randolph Sapp Update the source revision for the following upstream changes: - Drop the included ICD loader. Use the Mesa/Khronos one instead. - Enable all vulkan window system extensions Separate the vulkan libs into their own package so people can choose to ignore them if they want, considering the new runtime deps. Signed-off-by: Randolph Sapp --- .../ti-img-rogue-umlibs_23.1.6404501.bb | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb index 3ad0cce6..9068d341 100644 --- a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb +++ b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb @@ -12,7 +12,7 @@ PR = "r2" BRANCH = "linuxws/kirkstone/k6.1/${PV}" SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}" -SRCREV = "49958a8e820a321d22ac3c635bd21d4a3118c006" +SRCREV = "452b0f50d2984171c81d5a0d3b22198177d919ad" S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}" TARGET_PRODUCT:j721e = "j721e_linux" @@ -30,14 +30,29 @@ do_install:append() { rmdir ${D}/lib fi rm -rf "${D}/etc/init.d" - rm -rf "${D}/usr/lib/libvulkan.so" - rm -rf "${D}/usr/lib/libvulkan.so.0" - rm -rf "${D}/usr/lib/libvulkan.so.1" } -PACKAGES = "${PN}-tools ${PN}" +PACKAGES = "${PN}-vulkan ${PN}-tools ${PN}" + +FILES:${PN}-vulkan = " \ + ${datadir}/vulkan \ + ${libdir}/libVK_IMG.so* \ +" +RDEPENDS:${PN}-vulkan += " \ + mesa-vulkan-drivers \ + libdrm \ + ti-img-rogue-driver \ + libx11-xcb \ + wayland \ +" +INSANE_SKIP:${PN}-vulkan += " \ + already-stripped \ + dev-so \ +" + FILES:${PN}-tools = "${bindir}/" RDEPENDS:${PN}-tools = "python3-core" -RRECOMMENDS:${PN} += "${PN}-tools" + +RRECOMMENDS:${PN} += "${PN}-vulkan ${PN}-tools" INSANE_SKIP:${PN} += "ldflags arch already-stripped dev-so"