diff options
author | Henry Zhao <henry.zhao@oracle.com> | 2018-11-26 13:15:24 -0800 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2018-11-29 10:38:27 -0800 |
commit | c5d295f06c83ba69811c17880e033cbd0fdb52b1 (patch) | |
tree | 19b460d5106cf6adbec544f3267f8336028c08d6 | |
parent | 11abbd45e0c93b672a7e8d5730560a6b351c7a9b (diff) |
Write 8 bits instead of 32 to MGAREG_CACHEFLUSH
Fixes misaligned address crash when EXA is enabled on Solaris SPARC
(Oracle Bug id 22993744)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/mga_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |