summaryrefslogtreecommitdiff
path: root/shared-core/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-core/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-core/via_map.c')
-rw-r--r--shared-core/via_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/via_map.c b/shared-core/via_map.c
index 096e3e15..84b818b0 100644
--- a/shared-core/via_map.c
+++ b/shared-core/via_map.c
@@ -124,7 +124,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), *lock != fx.val);