On Mon, Dec 19 2022 at 16:32:35 -05:00:00, Denys Dmytriyenko <denis@denix.org> 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.