panfrost: Fix PAN_MESA_DEBUG=sync with INTEL_blackhole_render
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 27 Sep 2021 23:47:22 +0000 (19:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 Oct 2021 21:13:52 +0000 (21:13 +0000)
commitf0325ca3da7217064a50d297bd362dcee832e904
treee48de3746ca271cab14def3620a5061479f2b175
parent12facf23b1f1fd8668e057f13bcc69356fd89b52
panfrost: Fix PAN_MESA_DEBUG=sync with INTEL_blackhole_render

We need to ignore the "sync" in this case, or we'll crash with
"incomplete job" since we never submitted the work. Fixes the Piglit
intel_blackhole-draw_gles2 when run in CI.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13070>
src/gallium/drivers/panfrost/pan_job.c
src/panfrost/ci/piglit-panfrost-g52-fails.txt