Module: Mesa
Branch: main
Commit: 88cadf145451b3a5fd89b5937238abf95821c5cf
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88cadf145451b3a5fd89b5937238abf95821c5cf

Author: Tapani Pälli <[email protected]>
Date:   Mon Feb  6 14:50:16 2023 +0200

intel/blorp: disable REP16 for gfx12+ with R10G10B10_FLOAT_A2

Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21137>

---

 src/intel/blorp/blorp_clear.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c
index 351e342d2b0..82343ae9c05 100644
--- a/src/intel/blorp/blorp_clear.c
+++ b/src/intel/blorp/blorp_clear.c
@@ -607,6 +607,17 @@ blorp_clear(struct blorp_batch *batch,
    if (batch->blorp->isl_dev->info->ver < 6)
       use_simd16_replicated_data = false;
 
+   /* From the BSpec: 47719 Replicate Data:
+    *
+    * "Replicate Data Render Target Write message should not be used
+    *  on all projects TGL+."
+    *
+    *  See 14017879046, 14017880152 for additional information.
+    */
+   if (batch->blorp->isl_dev->info->ver >= 12 &&
+       format == ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM)
+      use_simd16_replicated_data = false;
+
    if (compute)
       use_simd16_replicated_data = false;
 

Reply via email to