Re: [PATCH 14/15] drm/i915: Track frontbuffer invalidation/flushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 16, 2014 at 07:51:34PM +0200, Daniel Vetter wrote:
> @@ -3966,6 +3971,8 @@ i915_gem_object_set_to_cpu_domain(struct drm_i915_gem_object *obj, bool write)
>  		obj->base.write_domain = I915_GEM_DOMAIN_CPU;
>  	}
>  
/* We do not need to explicitly invalidate the fb when moving to the
 * CPU domain as it is not coherent with the display. Therefore the user
 * much flush updates to the scanout through the frontbuffer whilst in
 * the CPU domain by explicitly flushing it - either by manually moving
 * to the GTT domain, or by calling sw-finish.
 */
> +	intel_fb_invalidate(obj, NULL);
And so kill this.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux