Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318727
b: refs/heads/master
c: 4c37379
h: refs/heads/master
i:
  318725: 8b0515e
  318723: 6da6733
  318719: e36cabd
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jul 20, 2012
1 parent 248feac commit 3e27f19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0071efe827f68cf173e1a8868b70618e9aca7d7
refs/heads/master: 4c373790a4d4d667d1ab38b1fe2bbf6a8322e93b
4 changes: 0 additions & 4 deletions trunk/drivers/gpu/drm/drm_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv)
lock->context, task_pid_nr(current),
master->lock.hw_lock->lock, lock->flags);

if (drm_core_check_feature(dev, DRIVER_DMA_QUEUE))
if (lock->context < 0)
return -EINVAL;

add_wait_queue(&master->lock.lock_queue, &entry);
spin_lock_bh(&master->lock.spinlock);
master->lock.user_waiters++;
Expand Down

0 comments on commit 3e27f19

Please sign in to comment.