On Wed, Dec 21, 2022 at 10:49:19AM -0600, Sapp, Randolph wrote: > On Mon, Dec 19 2022 at 16:32:35 -05:00:00, Denys Dmytriyenko > <[email protected]> wrote: > >Can you please explain why existing machine feature cannot be > >re-used and a > >new one is needed here? Do you plan to use both side-by-side? > > Yes, so gpu is a super generic machine feature. On our platforms > this could mean anything from some minimal device with a tidss > module that wants to do software rendering to a full blown device > with rogue/sgx graphics processors. The gpu feature is required to > build graphics libraries in either case, but if they are doing > software rendering they won't need the rogue/sgx specific patches. > The new machine feature makes this distinction clear and allows us > to switch between rogue/sgx/swrast tooling as necessary.
Well, not exactly... We originally created "sgx" machine feature in meta-ti to be used in downstream layers (as that was not a common upstream flag), as there was a need to mark platforms with accelerated 3D GFX core and SGX was the only one used in TI platforms back then. As J721e was the first SoC with the Rogue core, there was still a need to indicate a presence of 3D graphics regarless of the driver, hence I made the flag more generic by renaming "sgx" into "gpu": https://git.yoctoproject.org/meta-ti/commit/?id=0d9910c1710d9d4b2dd986403824ae05b6289e63 The thinking was that for any display and graphics capabilities w/o accelerated 3D (or software-rendered 3D), there's still a standard upstream machine feature called "screen", perfectly suited for that. So, "gpu" flag specifically means HW-accelerated 3D graphics core, regardless of the model, generation or driver used. That covers SGX and Rogue now. You can still build Mesa and other graphics components w/o "gpu" flag for software rendering just fine. -- Denys
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15502): https://lists.yoctoproject.org/g/meta-ti/message/15502 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]] -=-=-=-=-=-=-=-=-=-=-=-
