open-src/driver/xf86-video-mga/22993744.patch
changeset 1631 4f761c384e9b
equal deleted inserted replaced
1630:fedd05237f45 1631:4f761c384e9b
       
     1 diff --git a/src/mga_exa.c b/src/mga_exa.c
       
     2 index 69ffa16..c9e0038 100644
       
     3 --- a/src/mga_exa.c
       
     4 +++ b/src/mga_exa.c
       
     5 @@ -1,4 +1,6 @@
       
     6  /*
       
     7 + * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
     8 + *
       
     9   * Copyright 2006 Red Hat, Inc.
       
    10   *
       
    11   * Permission is hereby granted, free of charge, to any person obtaining a
       
    12 @@ -756,7 +758,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
       
    13  
       
    14      WAITFIFO(1);
       
    15  
       
    16 -    OUTREG(MGAREG_CACHEFLUSH, 0);
       
    17 +    OUTREG8(MGAREG_CACHEFLUSH, 0);
       
    18  
       
    19      /* wait until the "drawing engine busy" bit is unset */
       
    20      while (INREG (MGAREG_Status) & 0x10000);