Alan Coopersmith
2018-11-26 21:15:24 UTC
From: Henry Zhao <***@oracle.com>
Fixes misaligned address crash when EXA is enabled on Solaris SPARC
(Oracle Bug id 22993744)
Signed-off-by: Alan Coopersmith <***@oracle.com>
---
src/mga_exa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 86ec09e..03c5229 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -753,7 +753,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
WAITFIFO(1);
- OUTREG(MGAREG_CACHEFLUSH, 0);
+ OUTREG8(MGAREG_CACHEFLUSH, 0);
/* wait until the "drawing engine busy" bit is unset */
while (INREG (MGAREG_Status) & 0x10000);
Fixes misaligned address crash when EXA is enabled on Solaris SPARC
(Oracle Bug id 22993744)
Signed-off-by: Alan Coopersmith <***@oracle.com>
---
src/mga_exa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 86ec09e..03c5229 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -753,7 +753,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
WAITFIFO(1);
- OUTREG(MGAREG_CACHEFLUSH, 0);
+ OUTREG8(MGAREG_CACHEFLUSH, 0);
/* wait until the "drawing engine busy" bit is unset */
while (INREG (MGAREG_Status) & 0x10000);
--
2.15.3
_______________________________________________
xorg-***@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-deve
2.15.3
_______________________________________________
xorg-***@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-deve