diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2013-02-25 22:02:54 +0100 |
---|---|---|
committer | Mark Kettenis <kettenis@openbsd.org> | 2013-02-25 22:02:54 +0100 |
commit | d405facafba886d45e9b62d6cd52215743811bb7 (patch) | |
tree | ef579954c3770c858a1f667585eb6dc6c30d6955 /sys/dev/pci/drm/i915_gem_evict.c | |
parent | 00320b104ba962ed9541697895aa343e5b282d42 (diff) |
Bring domain handling code close to Linux 3.4.33.
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; |