summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-12-07 10:53:30 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-12-07 10:53:30 +0000
commit06afa977e287dd60c70b0a8b46de85ed95041cb5 (patch)
tree68c7b73de04a3c15f1e19dd6ddc47dc3837c7231 /sys/dev/pci/drm
parentc1ad8e6c1115467502c029128b9fdbe47ad60072 (diff)
No need to blow away the cache after updating GTT entries. The driver already
flushes individual cache lines when needed.
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/i915/i915_gem_gtt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915/i915_gem_gtt.c b/sys/dev/pci/drm/i915/i915_gem_gtt.c
index a066ce33a66..8b48227d5f9 100644
--- a/sys/dev/pci/drm/i915/i915_gem_gtt.c
+++ b/sys/dev/pci/drm/i915/i915_gem_gtt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i915_gem_gtt.c,v 1.6 2013/12/01 20:19:15 kettenis Exp $ */
+/* $OpenBSD: i915_gem_gtt.c,v 1.7 2013/12/07 10:53:29 kettenis Exp $ */
/*
* Copyright © 2010 Daniel Vetter
*
@@ -412,7 +412,6 @@ static void i915_ggtt_clear_range(struct drm_device *dev,
sc->sc_methods->unbind_page(sc->sc_chipc, addr);
addr += PAGE_SIZE;
}
- agp_flush_cache();
}
#endif
@@ -555,7 +554,6 @@ void i915_gem_gtt_bind_object(struct drm_i915_gem_object *obj,
}
addr += PAGE_SIZE;
}
- agp_flush_cache();
obj->has_global_gtt_mapping = 1;
}