diff options
Diffstat (limited to 'sys/dev/pci/drm/i915_gem_evict.c')
-rw-r--r-- | sys/dev/pci/drm/i915_gem_evict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_gem_evict.c b/sys/dev/pci/drm/i915_gem_evict.c index 592c7dda3a2..9ac0c28efdd 100644 --- a/sys/dev/pci/drm/i915_gem_evict.c +++ b/sys/dev/pci/drm/i915_gem_evict.c @@ -127,7 +127,7 @@ i915_gem_evict_something(struct inteldrm_softc *dev_priv, size_t min_size) } if (write_domain) { - if (i915_gem_flush(obj_priv->ring, write_domain, + if (i915_gem_flush_ring(obj_priv->ring, write_domain, write_domain) == 0) return (ENOMEM); continue; |