Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205113
b: refs/heads/master
c: 0599111
h: refs/heads/master
i:
  205111: 640dab8
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Ben Skeggs committed Aug 2, 2010
1 parent 4b3661f commit b5e94f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0ccb3a75fe81ec3c4ceb7344c34d0497cbabb369
refs/heads/master: 05991110cf94117dd488f6d64dabdea56ff35107
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nouveau_fence.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ nouveau_fence_wait(void *sync_obj, void *sync_arg, bool lazy, bool intr)
unsigned long timeout = jiffies + (3 * DRM_HZ);
int ret = 0;

__set_current_state(intr ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);

while (1) {
if (nouveau_fence_signalled(sync_obj, sync_arg))
break;
Expand All @@ -197,6 +195,8 @@ nouveau_fence_wait(void *sync_obj, void *sync_arg, bool lazy, bool intr)
break;
}

__set_current_state(intr ? TASK_INTERRUPTIBLE
: TASK_UNINTERRUPTIBLE);
if (lazy)
schedule_timeout(1);

Expand Down

0 comments on commit b5e94f8

Please sign in to comment.