Skip to content

turnip+freedreno: Add a635 + a660 support

Rob Clark requested to merge robclark/mesa:tu+fd/660+635 into main

First few patches are from !10892 (closed) and some of the turnip bits are partially based on patches from that series.

This converts fd_dev_info to python generated tables, which might be a bit overkill, but it gives us a nice way to not copy-paste parameters that are related to the a6xx sub-generation, and I think it should make things easier to add additional variants of a given sub-generation. And then it re-works things to get rid of all the direct gpu_id >= 650 in freedreno+ir3+turnip, as that will be a mess when we start adding newer gpus with lower gpu_id values. Then finally it adds new dev-info flags needed for the a6xx gen4 devices, and adds a635+a660.

Marking as draft for now because I don't actually have an a660 device, and a635 will take me a bit longer to get going. (But in theory it should just work if I didn't if I didn't flub the device-info tables, since the end result should be the same as a hacked up branch I had working earlier.) Dropping draft, as I've managed to confirm that things are working.. I'll try to get a deqp setup going to see where we stand tomorrow, but the basics all seem to be working

Edited by Rob Clark

Merge request reports