freedreno/crashdec: Add prefetch test

Add a crash where this was seen "in the wild" on a CTS test in
!17943 which requires handling multi-IB prefetching to correctly
location the crash location.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19551>
This commit is contained in:
Connor Abbott 2022-11-04 09:19:01 -07:00 committed by Marge Bot
parent 9ececfc6e6
commit 7417432a28
3 changed files with 24619 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -213,6 +213,17 @@ if with_tests
suite: 'freedreno',
workdir: dir_source_root
)
crashdec_prefetch_output = custom_target('crashdec_prefetch.txt',
output: 'crashdec_prefetch.txt',
command: [crashdec, '-sf', files('../.gitlab-ci/traces/crash_prefetch.devcore')],
capture: true
)
test('crashdec with prefetch',
diff,
args: ['-u', files('../.gitlab-ci/reference/crash_prefetch.log'), crashdec_prefetch_output],
suite: 'freedreno',
workdir: meson.source_root()
)
endif
if dep_libarchive.found()