asahi: Keep drawoverhead from OOMing itself
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