1631N/A+ * Copyright (c) 2016, Oracle
and/or its affiliates. All rights reserved.
1631N/A * Copyright 2006 Red Hat, Inc.
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- OUTREG(MGAREG_CACHEFLUSH, 0);
1631N/A+ OUTREG8(MGAREG_CACHEFLUSH, 0);
1631N/A /* wait until the "drawing engine busy" bit is unset */
1631N/A while (INREG (MGAREG_Status) & 0x10000);