Skip to content

panfrost: Use implementation-specific tile size

Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/tile-size into main

The physical tile buffer size (and hence the maximum available tilebuffer size) are implementation-defined. Track this information on the device so we can correctly select tile sizes, instead of hardcoding the value for Midgard.

This may improve Bifrost/Valhall performance on workloads using multiple render targets. It also gets us ready for the dazzling array of tile sizes available with v10.

Noticed when reading the public Mali data sheet that @icecream95 linked the other day.

Merge request reports