summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-04-23 12:43:52 -0400
committerKristian Høgsberg <krh@redhat.com>2008-04-23 12:43:52 -0400
commit55a9941977953d16b36bbf3e1dcad392ac70e1ef (patch)
tree526a3de0c53ee9f9b3060590095bce7955725108
parent33fa02f2d850da252d5ddd9ef7428b02de7bd6a7 (diff)
Make via compile.
Chase the lock to it's new location.
-rw-r--r--linux-core/via_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/via_fence.c b/linux-core/via_fence.c
index 20df4779..6473e701 100644
--- a/linux-core/via_fence.c
+++ b/linux-core/via_fence.c
@@ -89,7 +89,7 @@ static void via_fence_poll(struct drm_device *dev, uint32_t class,
if (signaled_flush_types) {
waiting_types &= ~signaled_flush_types;
if (!waiting_types && dev_priv->have_idlelock) {
- drm_idlelock_release(&dev->lock);
+ drm_idlelock_release(&dev->primary->master->lock);
dev_priv->have_idlelock = 0;
}
drm_fence_handler(dev, 0, dev_priv->emit_0_sequence,