diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-02-27 13:19:53 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-02-27 13:19:53 +1100 |
commit | 7efdf55ec189bb815b0bd15f5dd54f99763a69e7 (patch) | |
tree | 1346612c9d6ebc24eca28f198ad9ce1bb4341912 /sys/dev | |
parent | 0d78efcc4330855fa3be1af35ca3317f8c6253f4 (diff) |
add back inteldrm_wipe_mappings call
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915_gem_execbuffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_gem_execbuffer.c b/sys/dev/pci/drm/i915_gem_execbuffer.c index 86c47295672..f4f68ce9c3e 100644 --- a/sys/dev/pci/drm/i915_gem_execbuffer.c +++ b/sys/dev/pci/drm/i915_gem_execbuffer.c @@ -222,6 +222,10 @@ i915_gem_object_set_to_gpu_domain(struct drm_i915_gem_object *obj, if ((flush_domains | invalidate_domains) & I915_GEM_DOMAIN_CPU) i915_gem_clflush_object(obj); + if ((flush_domains | invalidate_domains) & I915_GEM_DOMAIN_GTT) { + inteldrm_wipe_mappings(&obj->base); + } + if (obj->base.pending_write_domain) cd->flips |= atomic_read(&obj->pending_flip); |