mixing breaks in r128 driver.. fixed in kernel

main
Dave Airlie 2005-11-11 09:20:34 +00:00
parent 59924b2f40
commit 3eb577c7c5
1 changed files with 4 additions and 0 deletions

View File

@ -1527,12 +1527,16 @@ static int r128_cce_depth(DRM_IOCTL_ARGS)
switch (depth.func) { switch (depth.func) {
case R128_WRITE_SPAN: case R128_WRITE_SPAN:
ret = r128_cce_dispatch_write_span(dev, &depth); ret = r128_cce_dispatch_write_span(dev, &depth);
break;
case R128_WRITE_PIXELS: case R128_WRITE_PIXELS:
ret = r128_cce_dispatch_write_pixels(dev, &depth); ret = r128_cce_dispatch_write_pixels(dev, &depth);
break;
case R128_READ_SPAN: case R128_READ_SPAN:
ret = r128_cce_dispatch_read_span(dev, &depth); ret = r128_cce_dispatch_read_span(dev, &depth);
break;
case R128_READ_PIXELS: case R128_READ_PIXELS:
ret = r128_cce_dispatch_read_pixels(dev, &depth); ret = r128_cce_dispatch_read_pixels(dev, &depth);
break;
} }
COMMIT_RING(); COMMIT_RING();