Skip to content

freedreno/crashdec: Handle multi-IB prefetching (second version)

Rob Clark requested to merge robclark/mesa:fd/crashdec-prefetch-ib-2 into main

Based on !19167 but with a different approach to adjusting for multi-IB prefetch (and various other cleanups)

cc @cwabbott0

See also prefetch-test.devcore which is from a hacked up mesa (reduced the ringbuffer size to 0x400 and make it not double each time it grows, to encourage the prefetch case, and insert bogus cmdstream (0xdeadd00d) after a certain # of draws so there is something easy to search for for the actual crash location. Possibly we should add that as a unit test as well.

Merge request reports