Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269830
b: refs/heads/master
c: f372b85
h: refs/heads/master
v: v3
  • Loading branch information
Ben Widawsky authored and Keith Packard committed Oct 20, 2011
1 parent 7c3d656 commit 75ca1b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: bab31a224e91bc376a68b4463d6d06cb1e4ce623
refs/heads/master: f372b85463dac2fc696443d4c5063db2af5dcead
6 changes: 0 additions & 6 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2193,14 +2193,8 @@ int
i915_gpu_idle(struct drm_device *dev)
{
drm_i915_private_t *dev_priv = dev->dev_private;
bool lists_empty;
int ret, i;

lists_empty = (list_empty(&dev_priv->mm.flushing_list) &&
list_empty(&dev_priv->mm.active_list));
if (lists_empty)
return 0;

/* Flush everything onto the inactive list. */
for (i = 0; i < I915_NUM_RINGS; i++) {
ret = i915_ring_idle(&dev_priv->ring[i]);
Expand Down

0 comments on commit 75ca1b2

Please sign in to comment.