summaryrefslogtreecommitdiff
path: root/shared/via_map.c
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2004-10-08 21:11:02 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2004-10-08 21:11:02 +0000
commitd24194e904cbfc85147efae6922e497e0102b2eb (patch)
tree797dbd6e2131d7d1f7d49b22cbd761153a15b43f /shared/via_map.c
parent3981f17227aa72b263d27e79aede307b1e2980a8 (diff)
Changed unsigned to uint32_t in some ioctl parameters. Introduced first
rudimentary command verifier for dma buffers. Changed the decoder futex ioctl parameters. Bumped the via major version number.
Diffstat (limited to 'shared/via_map.c')
-rw-r--r--shared/via_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/via_map.c b/shared/via_map.c
index f08503d4..7d3ebf26 100644
--- a/shared/via_map.c
+++ b/shared/via_map.c
@@ -127,7 +127,7 @@ int via_decoder_futex( DRM_IOCTL_ARGS )
lock = XVMCLOCKPTR(sAPriv,fx.lock);
- switch(fx.op) {
+ switch(fx.func) {
case VIA_FUTEX_WAIT:
DRM_WAIT_ON(ret, dev_priv->decoder_queue[fx.lock],
(fx.ms / 10)*(DRM_HZ/100),