On 1/11/23 1:33 PM, Sapp, Randolph wrote:
On Wed, Jan 4 2023 at 06:07:52 PM -0500, Denys Dmytriyenko <[email protected]> 
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.


The SGX/RGX recipes have COMPATIBLE_MACHINE lists that do not have any device 
in both sets.
That should be a good enough check that both(or wrong one) are not selected.

Andrew

Please feel free to correct me though. Unfortunately Yocto gives us too much 
freedom here.

Regards,
Randolph Sapp


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15549): 
https://lists.yoctoproject.org/g/meta-ti/message/15549
Mute This Topic: https://lists.yoctoproject.org/mt/95498459/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to