From mboxrd@z Thu Jan 1 00:00:00 1970 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 80BC8C5479D for ; Wed, 11 Jan 2023 19:33:22 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web11.34169.1673465598860110954 for ; Wed, 11 Jan 2023 11:33:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=fAayGJk+; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: rs@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 30BJXD56130288; Wed, 11 Jan 2023 13:33:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1673465593; bh=S06r1aLGhQqKbQKwGSH2LyVlxVkKxiCJ92h2X++ueio=; h=Date:From:Subject:To:CC:In-Reply-To:References; b=fAayGJk+0V2vP0Mxo9qsE4T94sKnvR3PhuA9kZYSnNl1hEabGpHDtQ+QXL8kbby47 sUdLux3tSHuPW50DaYj0gtt3ZRFJ7GitNUzgYLzYN1EmMFQ/GCXGIKSkKL+b6Rf/uw KWcHVTT9GhKSvlWD+84FBo3oj2GTRe8DO73su7gM= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 30BJXDbd044761 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Jan 2023 13:33:13 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 11 Jan 2023 13:33:13 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 11 Jan 2023 13:33:13 -0600 Received: from res.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 30BJXDMD121856; Wed, 11 Jan 2023 13:33:13 -0600 Date: Wed, 11 Jan 2023 13:33:07 -0600 From: "Sapp, Randolph" Subject: Re: [EXTERNAL] Re: [meta-ti] [master][PATCH v2] meta-ti-bsp: Graphics recipe overhaul To: Denys Dmytriyenko CC: Andrew Davis , , , , Message-ID: <7B6COR.0OP8M9KYKL9S3@ti.com> In-Reply-To: <20230104230752.GO22689@denix.org> References: <20221206174553.2391187-1-rs@ti.com> <18ac8055-de7f-77fe-1b1b-36c5de4ef8d2@ti.com> <20221219213235.GX22689@denix.org> <7Q29NR.T2R7VR8YUI2B2@ti.com> <20221222224746.GC22689@denix.org> <2OBKNR.ERO28SJCKO2E2@ti.com> <20230104230752.GO22689@denix.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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, 11 Jan 2023 19:33:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/15548 On Wed, Jan 4 2023 at 06:07:52 PM -0500, Denys Dmytriyenko wrote: > Please list all the machine features you plan to add/rename/remove in > order to support all these use cases. Thanks. On further inspection I believe adding these as distro features may be a better idea than machine features. I believe the best course of action would be to re-evaluate all recipes that utilize the "gpu" machine feature and either switch it to use distro features and PACKAGECONFIGS (my gstreamer-plugins example should actually be removed as it is a pointless override). Either x11 or wayland distro features should be enough to pull in software rendering toolkits and graphics frameworks like Qt so any overrides we had to prevent that should be dropped. That seems to be the way upstream intends that to work. The rgx-gpu / sgx-gpu features will be added to switch mesa configs, pull in according kernel modules, and tweak other packages as necessary. There will need to be a preliminary check though to make sure sgx-gpu and rgx-gpu features aren't both included as currently these will clash. Please feel free to correct me though. Unfortunately Yocto gives us too much freedom here. Regards, Randolph Sapp