The atomic msg type should be GEN75_P1_UNTYPED_ATOMIC_OP. Correct it.
Signed-off-by: Yang Rong <[email protected]>
---
backend/src/backend/gen75_encoder.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/backend/gen75_encoder.cpp
b/backend/src/backend/gen75_encoder.cpp
index 9e758d6..2cda0d7 100644
--- a/backend/src/backend/gen75_encoder.cpp
+++ b/backend/src/backend/gen75_encoder.cpp
@@ -114,7 +114,7 @@ namespace gbe
const GenMessageTarget sfid = GEN_SFID_DATAPORT1_DATA_CACHE;
setMessageDescriptor(insn, sfid, msg_length, response_length);
- insn->bits3.gen7_atomic_op.msg_type = GEN75_P1_TYPED_ATOMIC_OP;
+ insn->bits3.gen7_atomic_op.msg_type = GEN75_P1_UNTYPED_ATOMIC_OP;
insn->bits3.gen7_atomic_op.bti = bti;
insn->bits3.gen7_atomic_op.return_data = 1;
insn->bits3.gen7_atomic_op.aop_type = function;
--
1.8.3.2
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet