1. Replace LS_CFLAGS with MMI_CFLAGS to express its intention more accurately.
2. Improve the control logic for enabling MMI.
Three essential conditions for enabling MMI:
1) user have not specify --disable-loongson-mmi.
2) MMI options has been specified by MMI_CFLAGS,CC or compiler's default
---
pixman/pixman-combine32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pixman/pixman-combine32.h b/pixman/pixman-combine32.h
index cdd56a6..59bb247 100644
--- a/pixman/pixman-combine32.h
+++ b/pixman/pixman-combine32.h
@@ -12,7 +12,7 @@
#define RB_MASK 0xff00ff
It's suggested to use '-mloongson-mmi' to enable MMI.
To keep compatible with old processor, '-mloongson-mmi' will be
setted for Loongson-3A only.
---
configure.ac | 8 ++--
meson.build | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index
It's suggested to use '-mloongson-mmi' to enable MMI.
Use '-march=loongson2f' will lead a link error in new platform
while config check and then MMI will be disabled.
---
configure.ac | 2 +-
meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac
ongson-mmi.la
diff --git a/pixman/pixman-mips-msa.c b/pixman/pixman-mips-msa.c
new file mode 100644
index 000..10b731a
--- /dev/null
+++ b/pixman/pixman-mips-msa.c
@@ -0,0 +1,44 @@
+/*
+ * Copyright © 2019 Loongson Technology Co. Ltd.
+ * Contributed by Yin Shiyou(yinshiyou...@loongson.cn)
+ *