summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-11-11 09:20:34 +0000
committerDave Airlie <airlied@linux.ie>2005-11-11 09:20:34 +0000
commit3eb577c7c52b560cc3fa9dcf5d5a02b8b3edcef7 (patch)
treebda8302688cd9ffa1691f347a5e155119d3f7ed6
parent59924b2f409ac2e6d48c0903f858d208d30097e6 (diff)
mixing breaks in r128 driver.. fixed in kernel
-rw-r--r--shared-core/r128_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/r128_state.c b/shared-core/r128_state.c
index 93847463..6aeeb4b6 100644
--- a/shared-core/r128_state.c
+++ b/shared-core/r128_state.c
@@ -1527,12 +1527,16 @@ static int r128_cce_depth(DRM_IOCTL_ARGS)
switch (depth.func) {
case R128_WRITE_SPAN:
ret = r128_cce_dispatch_write_span(dev, &depth);
+ break;
case R128_WRITE_PIXELS:
ret = r128_cce_dispatch_write_pixels(dev, &depth);
+ break;
case R128_READ_SPAN:
ret = r128_cce_dispatch_read_span(dev, &depth);
+ break;
case R128_READ_PIXELS:
ret = r128_cce_dispatch_read_pixels(dev, &depth);
+ break;
}
COMMIT_RING();