On Mon, Jun 16, 2014 at 07:51:34PM +0200, Daniel Vetter wrote: > @@ -2227,6 +2223,9 @@ i915_gem_object_move_to_inactive(struct drm_i915_gem_object *obj) > list_move_tail(&vma->mm_list, &vm->inactive_list); > } > > + if (obj->frontbuffer_bits) > + intel_fb_flush(obj, true); > + > list_del_init(&obj->ring_list); > obj->ring = NULL; > > @@ -3556,6 +3555,8 @@ i915_gem_object_flush_gtt_write_domain(struct drm_i915_gem_object *obj) > old_write_domain = obj->base.write_domain; > obj->base.write_domain = 0; > > + intel_fb_flush(obj, false); > + I think it is worth the if (obj->frontbuffer_bit) check everywhere. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx