Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228667
b: refs/heads/master
c: 872d860
h: refs/heads/master
i:
  228665: 941c341
  228663: 5f05c36
v: v3
  • Loading branch information
Chris Wilson committed Oct 29, 2010
1 parent 7fcc0a6 commit 22d33fc
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: a00b10c360b35d6431a94cbf130a4e162870d661
refs/heads/master: 872d860c85e30cdc97e7c91723257f4fcf04d5e9
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 @@ -2847,22 +2847,16 @@ i915_gem_object_flush_gpu_write_domain(struct drm_gem_object *obj,
bool pipelined)
{
struct drm_device *dev = obj->dev;
uint32_t old_write_domain;

if ((obj->write_domain & I915_GEM_GPU_DOMAINS) == 0)
return 0;

/* Queue the GPU write cache flushing we need. */
old_write_domain = obj->write_domain;
i915_gem_flush_ring(dev, NULL,
to_intel_bo(obj)->ring,
0, obj->write_domain);
BUG_ON(obj->write_domain);

trace_i915_gem_object_change_domain(obj,
obj->read_domains,
old_write_domain);

if (pipelined)
return 0;

Expand Down

0 comments on commit 22d33fc

Please sign in to comment.