projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915: invalidate render cache on gen2
[deliverable/linux.git]
/
drivers
/
gpu
/
drm
/
i915
/
intel_ringbuffer.c
diff --git
a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 6f610f28b1be2d7488cf3e83abceb9442c4183b0..12d9bc789dfbe0ef3b269f548c66efc68a3140bf 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/
drivers/gpu/drm/i915/intel_ringbuffer.c
@@
-61,7
+61,7
@@
gen2_render_ring_flush(struct intel_ring_buffer *ring,
int ret;
cmd = MI_FLUSH;
- if ((
flush_domains
& I915_GEM_DOMAIN_RENDER) == 0)
+ if ((
(invalidate_domains|flush_domains)
& I915_GEM_DOMAIN_RENDER) == 0)
cmd |= MI_NO_WRITE_FLUSH;
if (invalidate_domains & I915_GEM_DOMAIN_SAMPLER)
This page took
0.024814 seconds
and
5
git commands to generate.