summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-10-14 01:21:31 +0200
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-10-14 01:21:31 +0200
commit3a0cd7c7e221f625585675490f626de8677a9dc7 (patch)
treeb3643f32b8b5630c9fb9e11fa41376a101614228 /shared-core
parentb509abe413f74bd08f6415dec8147bd07e78a84b (diff)
Add the missing breaks.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_fifo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_fifo.c b/shared-core/nouveau_fifo.c
index 9615e084..6de6a615 100644
--- a/shared-core/nouveau_fifo.c
+++ b/shared-core/nouveau_fifo.c
@@ -238,10 +238,12 @@ static int nouveau_fifo_alloc(drm_device_t* dev,drm_nouveau_fifo_alloc_t* init,
case NV_20:
case NV_30:
ctx_size=64;
+ break;
case NV_40:
case G_70:
default:
ctx_size=128;
+ break;
}
ctx_addr=NV_RAMIN+dev_priv->ramfc_offset+init->channel*ctx_size;