Skip to content

freedreno/drm: Couple small CPU opts

Rob Clark requested to merge robclark/mesa:fd/small-opts into main

I happened to notice we were spending a bunch of time in fd_bo_state() (ie. checking if the buffer is idle). The biggest reason is the BO heap heap_clean() checking for buffers that have become newly idle on every allocation. But there isn't much point to, once we encounter a still busy buffer, to keep checking the rest of the list.

Merge request reports