Mesa (master): intel/mi_builder: Disable mem_mem tests on IVB

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 16 17:59:59 UTC 2019


Module: Mesa
Branch: master
Commit: 583a4d9a2719714ccd384931fb181aa2532ee316
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=583a4d9a2719714ccd384931fb181aa2532ee316

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Apr 16 12:37:12 2019 -0500

intel/mi_builder: Disable mem_mem tests on IVB

Tested-by: Clayton Craft <clayton.a.craft at intel.com>

---

 src/intel/common/tests/gen_mi_builder_test.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/common/tests/gen_mi_builder_test.cpp b/src/intel/common/tests/gen_mi_builder_test.cpp
index b1e210ba450..961fb215679 100644
--- a/src/intel/common/tests/gen_mi_builder_test.cpp
+++ b/src/intel/common/tests/gen_mi_builder_test.cpp
@@ -335,6 +335,8 @@ TEST_F(gen_mi_builder_test, imm_mem)
    EXPECT_EQ(*(uint32_t *)(output + 12), (uint32_t)canary);
 }
 
+/* mem -> mem copies are only supported on HSW+ */
+#if GEN_GEN >= 8 || GEN_IS_HASWELL
 TEST_F(gen_mi_builder_test, mem_mem)
 {
    const uint64_t value = 0x0123456789abcdef;
@@ -361,6 +363,7 @@ TEST_F(gen_mi_builder_test, mem_mem)
    // 32 -> 64
    EXPECT_EQ(*(uint64_t *)(output + 24), (uint64_t)(uint32_t)value);
 }
+#endif
 
 TEST_F(gen_mi_builder_test, imm_reg)
 {




More information about the mesa-commit mailing list