Re: [Intel-gfx] [PATCH 04/13] drm/i915: Introduce i915_gem_object_finish_gtt()

2011-05-04 Thread Keith Packard
On Thu, 14 Apr 2011 10:03:38 +0100, Chris Wilson ch...@chris-wilson.co.uk wrote: + obj-base.write_domain = ~I915_GEM_DOMAIN_GTT; + obj-base.write_domain = ~I915_GEM_DOMAIN_GTT; I'll bet you want to modify the read_domain as well. -- keith.pack...@intel.com pgp2NzoJuMYNT.pgp

Re: [Intel-gfx] [PATCH 04/13] drm/i915: Introduce i915_gem_object_finish_gtt()

2011-04-14 Thread Daniel Vetter
On Thu, Apr 14, 2011 at 10:03:38AM +0100, Chris Wilson wrote: Like its siblings finish_gpu(), this function clears the object from the GTT domain forcing it to be trigger a domain invalidation should we ever need to use via the GTT again. Note that the most important side-effect of finishing

Re: [Intel-gfx] [PATCH 04/13] drm/i915: Introduce i915_gem_object_finish_gtt()

2011-04-14 Thread Chris Wilson
On Thu, 14 Apr 2011 18:12:13 +0200, Daniel Vetter dan...@ffwll.ch wrote: But every time I bang my head against this particular wall, the only thing I can come up with is some abomination from hell. And I've been tossing around ideas for the better part of a year already with no luck. Hear,