summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/mga_state.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-10-22 07:24:35 +0200
committerDave Airlie <airlied@linux.ie>2005-10-22 07:24:35 +0200
commit23bfc1a339e98510f2ce25a2764a0cfe195faa9e (patch)
tree51652ad15f85d9d1367ae6f9b8641dfe46b4c501 /drivers/char/drm/mga_state.c
parentmerge Linus head tree into my drm tree and fix up conflicts (diff)
parent[PATCH] typo fix in last cpufreq powernow patch (diff)
downloadlinux-23bfc1a339e98510f2ce25a2764a0cfe195faa9e.tar.xz
linux-23bfc1a339e98510f2ce25a2764a0cfe195faa9e.zip
merge linus head to drm-mm branch
Diffstat (limited to 'drivers/char/drm/mga_state.c')
-rw-r--r--drivers/char/drm/mga_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/mga_state.c b/drivers/char/drm/mga_state.c
index ee77685069d0..47f54b5ae956 100644
--- a/drivers/char/drm/mga_state.c
+++ b/drivers/char/drm/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,