diff options
author | Danylo Piliaiev <[email protected]> | 2020-05-14 15:29:36 +0300 |
---|---|---|
committer | Danylo Piliaiev <[email protected]> | 2020-05-27 14:35:13 +0300 |
commit | 296c04d78c9840f83e7fcaf9b45a4cee96752348 (patch) | |
tree | 151d359fe7228fd1730ffea53a553361f69c2206 /src/intel/compiler | |
parent | dd2bd68fa69124c86cd008b256d06f44fab8e6cd (diff) |
intel/fs: Work around dual-source blending hangs in combination with SIMD16
It was found that dual-source blending hangs with SIMD16 dispatch in some
specific but unknown situation. Which in the wild happen when rgba
anti-aliasing is enabled for fonts.
Cc: <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2183
Signed-off-by: Danylo Piliaiev <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5037>
Diffstat (limited to 'src/intel/compiler')
-rw-r--r-- | src/intel/compiler/brw_fs_visitor.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index 7b315693e4a..22e83f1adb9 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -548,9 +548,13 @@ fs_visitor::emit_fb_writes() * XXX - Emit an extra single-source NULL RT-write marked LastRT in * order to release the thread dependency without disabling * SIMD32. + * + * The dual-source RT write messages may lead to hangs with SIMD16 + * dispatch on ICL due some unknown reasons, see + * https://gitlab.freedesktop.org/mesa/mesa/-/issues/2183 */ - limit_dispatch_width(16, "Dual source blending unsupported " - "in SIMD32 mode.\n"); + limit_dispatch_width(8, "Dual source blending unsupported " + "in SIMD16 and SIMD32 modes.\n"); } } |