intel/fs/gen11: Work around dual-source blending hangs in combination with SIMD32.

The SIMD8 dual-source blending framebuffer write messages seem to have
trouble releasing the pixel scoreboard dependency in SIMD32 dispatch
mode, which leads to hangs.  I have a better workaround for this which
doesn't involve disabling SIMD32 when dual-source blending is enabled,
but I'm still investigating some issues with it.  Limit the dispatch
width to SIMD16 in such cases for the moment in order to make the CI
happy on ICL with SIMD32 fragment shaders enabled.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Francisco Jerez 2020-01-21 13:55:36 -08:00
parent 57dee58c82
commit b84fa0b31e
1 changed files with 12 additions and 0 deletions

View File

@ -537,6 +537,18 @@ fs_visitor::emit_fb_writes()
inst->last_rt = true;
inst->eot = true;
if (devinfo->gen == 11 && prog_data->dual_src_blend) {
/* The dual-source RT write messages fail to release the thread
* dependency on ICL with SIMD32 dispatch, leading to hangs.
*
* XXX - Emit an extra single-source NULL RT-write marked LastRT in
* order to release the thread dependency without disabling
* SIMD32.
*/
limit_dispatch_width(16, "Dual source blending unsupported "
"in SIMD32 mode.\n");
}
}
void