Skip to content

freedreno: Defer freeing batch->key

Rob Clark requested to merge robclark/mesa:fd/autotune-fix into main

We use the same key in autotune to track historical data about a given framebuffer state, to inform the decision about using gmem vs sysmem rendering. Which means we need the key to stick around during the flush, even if the batch is removed from the batch-cache before the flush.

Gets us back our moar fps for gl_driver2_off

Merge request reports