Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228791
b: refs/heads/master
c: 0ac74c6
h: refs/heads/master
i:
  228789: ea8144f
  228787: f66273f
  228783: 119f6ce
v: v3
  • Loading branch information
Chris Wilson committed Dec 6, 2010
1 parent 95f551f commit 3aefbd5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6bda10d152735c22baf1dcd92937420b4b0a359a
refs/heads/master: 0ac74c6b3386f0413baf48f6d61850650e0dc4ab
5 changes: 3 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2154,8 +2154,9 @@ static int i915_ring_idle(struct drm_device *dev,
if (list_empty(&ring->gpu_write_list) && list_empty(&ring->active_list))
return 0;

i915_gem_flush_ring(dev, ring,
I915_GEM_GPU_DOMAINS, I915_GEM_GPU_DOMAINS);
if (!list_empty(&ring->gpu_write_list))
i915_gem_flush_ring(dev, ring,
I915_GEM_GPU_DOMAINS, I915_GEM_GPU_DOMAINS);
return i915_wait_request(dev,
i915_gem_next_request_seqno(dev, ring),
ring);
Expand Down

0 comments on commit 3aefbd5

Please sign in to comment.