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>
This commit is contained in:
Alyssa Rosenzweig 2021-09-27 19:47:22 -04:00 committed by Marge Bot
parent 12facf23b1
commit f0325ca3da
2 changed files with 2 additions and 3 deletions

View file

@ -645,7 +645,8 @@ panfrost_batch_submit_ioctl(struct panfrost_batch *batch,
if (dev->debug & PAN_DBG_TRACE)
pandecode_jc(submit.jc, dev->gpu_id);
if (dev->debug & PAN_DBG_SYNC)
/* Jobs won't be complete if blackhole rendering, that's ok */
if (!ctx->is_noop && dev->debug & PAN_DBG_SYNC)
pandecode_abort_on_fault(submit.jc, dev->gpu_id);
}

View file

@ -829,8 +829,6 @@ spec@glsl-1.30@execution@tex-miplevel-selection textureprojoffset 2drect,Crash
spec@glsl-1.30@execution@tex-miplevel-selection textureprojoffset 2drect_projvec4,Crash
spec@glsl-1.30@execution@tex-miplevel-selection textureprojoffset 2drectshadow,Crash
spec@glsl-es-3.00@execution@varying-struct-centroid_gles3,Fail
spec@intel_blackhole_render@intel_blackhole-draw_gles2,Crash
spec@intel_blackhole_render@intel_blackhole-draw_gles3,Crash
spec@intel_performance_query@intel_performance_query-issue_2235,Fail
spec@khr_texture_compression_astc@miptree-gles hdr,Fail
spec@khr_texture_compression_astc@miptree-gles hdr@HDR Profile,Fail