Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131679
b: refs/heads/master
c: f21289b
h: refs/heads/master
i:
  131677: f1826c2
  131675: 67b4f2f
  131671: ccf90ee
  131663: 94640c6
  131647: ebcbb9e
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Feb 23, 2009
1 parent 669a7e9 commit 323eeaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5669fcacc58bf3a7386057addffd280d75380858
refs/heads/master: f21289b355cee8738d80c2ae5cbd272c3f7b5689
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2872,6 +2872,13 @@ i915_gem_busy_ioctl(struct drm_device *dev, void *data,
return -EBADF;
}

/* Update the active list for the hardware's current position.
* Otherwise this only updates on a delayed timer or when irqs are
* actually unmasked, and our working set ends up being larger than
* required.
*/
i915_gem_retire_requests(dev);

obj_priv = obj->driver_private;
/* Don't count being on the flushing list against the object being
* done. Otherwise, a buffer left on the flushing list but not getting
Expand Down

0 comments on commit 323eeaf

Please sign in to comment.