1631N/Adiff --git a/src/mga_exa.c b/src/mga_exa.c
1631N/Aindex 69ffa16..c9e0038 100644
1631N/A--- a/src/mga_exa.c
1631N/A+++ b/src/mga_exa.c
1631N/A@@ -1,4 +1,6 @@
1631N/A /*
1631N/A+ * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
1631N/A+ *
1631N/A * Copyright 2006 Red Hat, Inc.
1631N/A *
1631N/A * Permission is hereby granted, free of charge, to any person obtaining a
1631N/A@@ -756,7 +758,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
1631N/A
1631N/A WAITFIFO(1);
1631N/A
1631N/A- OUTREG(MGAREG_CACHEFLUSH, 0);
1631N/A+ OUTREG8(MGAREG_CACHEFLUSH, 0);
1631N/A
1631N/A /* wait until the "drawing engine busy" bit is unset */
1631N/A while (INREG (MGAREG_Status) & 0x10000);