Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185625
b: refs/heads/master
c: 922a2ef
h: refs/heads/master
i:
  185623: 0c8261b
v: v3
  • Loading branch information
Daniel Vetter authored and Eric Anholt committed Feb 26, 2010
1 parent 94df79a commit f42d655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 4df2faf4512c2e2ffa6793e055c73a4e7b8b5e36
refs/heads/master: 922a2efc1b6ef48e2783f7efeb3a94e952c7ed14
4 changes: 1 addition & 3 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2748,7 +2748,6 @@ static void
i915_gem_object_flush_gpu_write_domain(struct drm_gem_object *obj)
{
struct drm_device *dev = obj->dev;
uint32_t seqno;
uint32_t old_write_domain;

if ((obj->write_domain & I915_GEM_GPU_DOMAINS) == 0)
Expand All @@ -2757,9 +2756,8 @@ i915_gem_object_flush_gpu_write_domain(struct drm_gem_object *obj)
/* Queue the GPU write cache flushing we need. */
old_write_domain = obj->write_domain;
i915_gem_flush(dev, 0, obj->write_domain);
seqno = i915_add_request(dev, NULL, obj->write_domain);
(void) i915_add_request(dev, NULL, obj->write_domain);
BUG_ON(obj->write_domain);
i915_gem_object_move_to_active(obj, seqno);

trace_i915_gem_object_change_domain(obj,
obj->read_domains,
Expand Down

0 comments on commit f42d655

Please sign in to comment.