summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-26 23:19:34 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-26 23:19:34 +1100
commit885b397fe80102dedc57cb552fa42e5978929aa7 (patch)
treee8c7508391ea1cad1aabc39d0d3c69257ccbea1c
parentc325eae4ee8476cd2ac9d8d19da9a7732b3040ac (diff)
enable more of i915_gem_object_pin_to_display_plane
-rw-r--r--sys/dev/pci/drm/i915_gem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/i915_gem.c b/sys/dev/pci/drm/i915_gem.c
index ff3e0a1d4df..74db8d30f06 100644
--- a/sys/dev/pci/drm/i915_gem.c
+++ b/sys/dev/pci/drm/i915_gem.c
@@ -1974,7 +1974,6 @@ i915_gem_object_pin_to_display_plane(struct drm_i915_gem_object *obj,
if (ret)
return ret;
-#ifdef notyet
i915_gem_object_flush_cpu_write_domain(obj);
// old_write_domain = obj->write_domain;
@@ -1985,9 +1984,6 @@ i915_gem_object_pin_to_display_plane(struct drm_i915_gem_object *obj,
*/
BUG_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_GTT) != 0);
obj->base.read_domains |= I915_GEM_DOMAIN_GTT;
-#else
- printf("%s skipping write domain flush\n", __func__);
-#endif
// trace_i915_gem_object_change_domain(obj,
// old_read_domains,