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 72491C433F5 for ; Tue, 22 Mar 2022 20:58:08 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web12.834.1647982686960367498 for ; Tue, 22 Mar 2022 13:58:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=GWF633jZ; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: detheridge@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22MKw59O113418; Tue, 22 Mar 2022 15:58:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647982685; bh=Vqyy1U2jRJ8/BSFkCXSdgOjyXjEI62yrbhYU1q9QGSg=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=GWF633jZDDVqj9SZp3rZg5m4YLTBqmlXiPEkHG9Yzb+lBgwrC4IomI6Udq+KwmMhf 0HgQ9OtLoMA1MltwccUris6usxSqxTIldbpy5/QwCX4Vpya4T2heNiS4S6rOl056dU icWr1zEQOXYRYk4osGgj+erP6g0omf2C6nQk+IAs= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MKw51C066680 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 15:58:05 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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.2308.14; Tue, 22 Mar 2022 15:58:05 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.2308.14 via Frontend Transport; Tue, 22 Mar 2022 15:58:05 -0500 Received: from [128.247.81.152] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22MKw5Ej076203; Tue, 22 Mar 2022 15:58:05 -0500 Message-ID: <4adcaba5-e45d-451a-75a5-3cc8d52ce8fc@ti.com> Date: Tue, 22 Mar 2022 15:58:04 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [meta-arago][dunfell][PATCH 2/3] packagegroup-*-graphics: add virtual provider for AM62x GPU driver v2 Content-Language: en-US To: , CC: Yogesh Siraswar , Praneeth Bajjuri , Denys Dmytriyenko , References: <20220322193554.24404-1-reatmon@ti.com> <20220322193554.24404-3-reatmon@ti.com> <20220322204955.kj74x5e6lx4qtghr@borrowing> From: "Etheridge, Darren" In-Reply-To: <20220322204955.kj74x5e6lx4qtghr@borrowing> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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 ; Tue, 22 Mar 2022 20:58:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13717 On 3/22/2022 3:49 PM, Nishanth Menon via lists.yoctoproject.org wrote: > On 14:35-20220322, Ryan Eatmon via lists.yoctoproject.org wrote: >> From: Krunal Bhargav >> >> Signed-off-by: Krunal Bhargav >> Signed-off-by: Ryan Eatmon >> --- >> .../conf/distro/include/arago-prefs.inc | 12 ++++++------ >> 1 file changed, 6 insertions(+), 6 deletions(-) >> >> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc >> index a356c76c..7bc2ba52 100644 >> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc >> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc >> @@ -14,12 +14,12 @@ PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um" >> PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um" >> PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km" >> >> -# J7 has a Rogue GPU core >> -PREFERRED_PROVIDER_virtual/egl_j7 = "ti-img-rogue-umlibs" >> -PREFERRED_PROVIDER_virtual/libgles1_j7 = "ti-img-rogue-umlibs" >> -PREFERRED_PROVIDER_virtual/libgles2_j7 = "ti-img-rogue-umlibs" >> -PREFERRED_PROVIDER_virtual/libgbm_j7 = "ti-img-rogue-umlibs" >> -PREFERRED_PROVIDER_virtual/gpudriver_j7 = "ti-img-rogue-driver" >> +# K3 TI Platforms has a Rogue GPU core >> +PREFERRED_PROVIDER_virtual/egl = "ti-img-rogue-umlibs" >> +PREFERRED_PROVIDER_virtual/libgles1 = "ti-img-rogue-umlibs" >> +PREFERRED_PROVIDER_virtual/libgles2 = "ti-img-rogue-umlibs" >> +PREFERRED_PROVIDER_virtual/libgbm = "ti-img-rogue-umlibs" >> +PREFERRED_PROVIDER_virtual/gpudriver = "ti-img-rogue-driver" > > How does this apply to k3 and leave non-k3 alone? Also, am65x for example is > sgx. > That is a very good point. This will mess up SGX platforms. I wish we had k3_ as the prefix for the name here for all the k3 platforms. So I guess the only solution is leave all the _j7 as they were and add: +PREFERRED_PROVIDER_virtual/egl_am62 = "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgles1_am62 = "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgles2_am62 = "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgbm_am62 = "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/gpudriver_am62 = "ti-img-rogue-driver" Is there anything cleverer? >> >> # This is required when using keystone devices with graphical support >> # such as Qt5 >> -- >> 2.17.1 >> >> >> >> >> >> >