Re: [Intel-gfx] [PATCH 24/38] drm/i915: Move GEM activity tracking into a common struct reservation_object

2016-09-26 Thread Joonas Lahtinen
On ti, 2016-09-20 at 09:29 +0100, Chris Wilson wrote: > +static struct intel_engine_cs * > +last_write_engine(struct drm_i915_gem_object *obj) This function is repeated below, better move it to header as __i915_gem_obj_last_write_engine? I'd say there is not an ABI change now as non-i915 fences

[Intel-gfx] [PATCH 24/38] drm/i915: Move GEM activity tracking into a common struct reservation_object

2016-09-20 Thread Chris Wilson
In preparation to support many distinct timelines, we need to expand the activity tracking on the GEM object to handle more than just a request per engine. We already use the struct reservation_object on the dma-buf to handle many fence contexts, so integrating that into the GEM object itself is