summaryrefslogtreecommitdiff
path: root/shared-core/mga_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/mga_state.c')
-rw-r--r--shared-core/mga_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/mga_state.c b/shared-core/mga_state.c
index e2144ca7..1f7c679a 100644
--- a/shared-core/mga_state.c
+++ b/shared-core/mga_state.c
@@ -53,7 +53,7 @@ static void mga_emit_clip_rect(drm_mga_private_t * dev_priv,
/* Force reset of DWGCTL on G400 (eliminates clip disable bit).
*/
- if (dev_priv->chipset == MGA_CARD_TYPE_G400) {
+ if (dev_priv->chipset >= MGA_CARD_TYPE_G400) {
DMA_BLOCK(MGA_DWGCTL, ctx->dwgctl,
MGA_LEN + MGA_EXEC, 0x80000000,
MGA_DWGCTL, ctx->dwgctl,