Re: [Intel-gfx] [PATCH v4] drm/i915: Small compaction of the engine init code

2016-06-23 Thread Chris Wilson
On Thu, Jun 23, 2016 at 02:52:41PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Effectively removes one layer of indirection between the mask of > possible engines and the engine constructors. Instead of spelling > out in code the mapping of HAS_ to constructors, makes > more use of th

[Intel-gfx] [PATCH v4] drm/i915: Small compaction of the engine init code

2016-06-23 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Effectively removes one layer of indirection between the mask of possible engines and the engine constructors. Instead of spelling out in code the mapping of HAS_ to constructors, makes more use of the recently added data driven approach by putting engine constructor vfuncs i