Skip to content

asahi: Keep drawoverhead from OOMing itself

Alyssa Rosenzweig requested to merge alyssa/mesa:asahi/drawoverhead-oom into main

What does this MR do and why?

asahi: Keep drawoverhead from OOMing itself

Otherwise, drawoverhead quickly OOMs due to issuing millions of draws with no flushing. Inserting a flush after an absurd number of draws adds minimal overhead but gets drawoverhead functional again.

Asahi version of 8e437a22 ("freedreno: Limit max draws per batch").

Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports