From patchwork Tue Mar 18 02:38:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 59312 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 4CFC9C3DA4A for ; Tue, 18 Mar 2025 02:38:40 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web10.2813.1742265517407810169 for ; Mon, 17 Mar 2025 19:38:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=u8TUxoGA; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: a-christidis@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 52I2cakA3004173 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 17 Mar 2025 21:38:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1742265516; bh=hRP2VoI/uHCfVb78Pq1vsYoBpG0IJzKSYbbwehNQqS8=; h=From:To:Subject:Date:In-Reply-To:References; b=u8TUxoGA3XfDpADMFWARms5NDVPsAZDQPyrPD2jsbVVfdZOGr4Akqc9nbi9d3J7ad +hQWx7jbvaEqmWVSjVP/b371gYK7rxR6VAMbNFsgC9buieMkPKHcE+5mKaJ5MDd+Z+ 59a9oH24t9Q+6nekPtuc3S/U79EQZpt6sDzpquTQ= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52I2caON116787 for ; Mon, 17 Mar 2025 21:38:36 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 17 Mar 2025 21:38:36 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 17 Mar 2025 21:38:36 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52I2cae0043577 for ; Mon, 17 Mar 2025 21:38:36 -0500 From: To: Subject: [meta-ti][scarthgap/master][PATCH v5 1/3] recipe-graphics: port gc320 driver to work on kernel 6.12 Date: Mon, 17 Mar 2025 21:38:34 -0500 Message-ID: <20250318023836.3507801-2-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250318023836.3507801-1-a-christidis@ti.com> References: <20250318023836.3507801-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 ; Tue, 18 Mar 2025 02:38:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18397 From: Antonios Christidis Changes made on the gc320 kernel mode driver in order to work with kernel 6.12. There is no other change in functionality with this update, and the driver version remains the same. Signed-off-by: Antonios Christidis --- .../recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb index 818ed683..a6dc3e25 100644 --- a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb @@ -8,9 +8,9 @@ inherit module features_check REQUIRED_MACHINE_FEATURES = "gc320" # Need to branch out with ${PV} var -BRANCH = "ti-${PV}-k5.10" +BRANCH = "ti-${PV}-k6.12" -SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107" +SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1" SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}" From patchwork Tue Mar 18 02:38:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 59311 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 48355C282EC for ; Tue, 18 Mar 2025 02:38:40 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web10.2812.1742265517397973015 for ; Mon, 17 Mar 2025 19:38:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rQUVwAFg; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: a-christidis@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 52I2caWq3004177 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 17 Mar 2025 21:38:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1742265516; bh=jquSLc3WHrJlkB+uEmE6+QNKc5JMCJcD0vwAxFo6D6s=; h=From:To:Subject:Date:In-Reply-To:References; b=rQUVwAFgxBwuKg3ng92OV9F6f1IXvD+KH2/PcsEK7O+EEcacL5g1BZinfpdN74oza B3NWBGCmN6pTkxk8crjEqdWpp5+xoFAlWdvY7MuMc4Ns3wubNj1mAGACTju3uIabfh fI1xWmsPMHPo4LwumBr4i5dbywQ9xzUNkYv/xTi0= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 52I2cakT023724 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 17 Mar 2025 21:38:36 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 17 Mar 2025 21:38:36 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE105.ent.ti.com (157.170.170.35) 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; Mon, 17 Mar 2025 21:38:36 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52I2cae1043577 for ; Mon, 17 Mar 2025 21:38:36 -0500 From: To: Subject: [meta-ti][scarthgap/master][PATCH v5 2/3] conf: machine: am57xx-evm: Enable gc320 machine feature for am57xx Date: Mon, 17 Mar 2025 21:38:35 -0500 Message-ID: <20250318023836.3507801-3-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250318023836.3507801-1-a-christidis@ti.com> References: <20250318023836.3507801-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 ; Tue, 18 Mar 2025 02:38:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18398 From: Antonios Christidis MACHINE_FEATURE gc320, already gets set on omap-a15.inc. But ti-bsp.inc file, removes the feature. So, remove that portion of functionality from ti-bsp, in order to allow the building of gc320 in kernel 6.12. Signed-off-by: Antonios Christidis --- v4: - Instead of commenting out, remove both lines meta-ti-bsp/conf/machine/include/ti-bsp.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index 32beacee..054aa6cb 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc @@ -58,9 +58,6 @@ BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "24%" BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%" BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%" -# GC320 support requires out-of-tree drivers not yet available in 6.12 -MACHINE_FEATURES:remove:bsp-ti-6_12 = "gc320" - # ========== # ti-6_6 # TI staging kernel 6.6, u-boot 2024.04 From patchwork Tue Mar 18 02:38:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 59313 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 5BB42C35FF9 for ; Tue, 18 Mar 2025 02:38:40 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web10.2811.1742265517397845592 for ; Mon, 17 Mar 2025 19:38:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TCGtazIn; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: a-christidis@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 52I2cahp2483003 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 17 Mar 2025 21:38:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1742265516; bh=krsExf8UzxP8SsPJtfiEadmaZAs7r7ZyTHTP+/vjsdg=; h=From:To:Subject:Date:In-Reply-To:References; b=TCGtazInM1L8sG3qlc9cXlkAzhUfbsRE4YdAMEIU9vm/NVUfxDi+HAf2+Fl3edN/c aqpt6LllQ9dk5rXVjX/Fhxhqpme/kbBBi+Aa6j1UvYmvYSJYo2vyHe7KhMrp70h9mY AzKtwPwyuQZbx4/bBKnawtoQ3oOzMelFoWpCT6eg= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 52I2ca5F023721 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 17 Mar 2025 21:38:36 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 17 Mar 2025 21:38:36 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE107.ent.ti.com (10.64.6.28) 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; Mon, 17 Mar 2025 21:38:36 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52I2cae2043577 for ; Mon, 17 Mar 2025 21:38:36 -0500 From: To: Subject: [meta-ti][scarthgap/master][PATCH v5 3/3] recipes-graphics: port gc320 libs to work on kernel 6.12 Date: Mon, 17 Mar 2025 21:38:36 -0500 Message-ID: <20250318023836.3507801-4-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250318023836.3507801-1-a-christidis@ti.com> References: <20250318023836.3507801-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 ; Tue, 18 Mar 2025 02:38:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18399 From: Antonios Christidis The user mode libraries needed recompiling with the scarthgap revision of gcc to remove all the warnings about 32bit API usage during the linking stage, new SRCREV and branch includes this changes. Versions of the libraries remain the same. Signed-off-by: Antonios Christidis --- v5: - Move the symb link of libGAL.so within the ${PN} package. While making sure the header files are part of the ${PN}-dev package. v3: - Removed commented lines and extra lib directory that was being created in do_install() v2: - No longer include withing the PN package /usr/include file and symb link to library file. This is done by not chaning the FILES/PACKAGES variables, thus creating a -dev package. .../recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb index 807f421c..6b7226ab 100644 --- a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb @@ -11,10 +11,10 @@ COMPATIBLE_MACHINE = "omap-a15" CLEANBROKEN = "1" -BRANCH = "ti-${PV}" +BRANCH = "ti-${PV}-scarthgap" SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-libs.git;protocol=https;branch=${BRANCH}" -SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5" +SRCREV = "85c175e8425c33dda6e272aeb45afe0f69a79096" RRECOMMENDS:${PN} = "ti-gc320-driver" @@ -43,4 +43,6 @@ do_install() { chown -R root:root ${D} } -INSANE_SKIP:${PN} += "ldflags" +FILES:${PN}:append = " ${libdir}" + +INSANE_SKIP:${PN} += "ldflags already-stripped dev-so"