drm/i915: Consolidate legacy semaphore initialization
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 15:09:31 +0000 (16:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2016 16:20:45 +0000 (17:20 +0100)
commit4b8e38a9ef490d8e7a4225d05aaf4619eb632d82
treea79362d66fff041d0d74281bbd2e14ee420e7bab
parentc38c651b39a642d5900e9c8122cfc9bff4343538
drm/i915: Consolidate legacy semaphore initialization

Replace per-engine initialization with a common half-programatic,
half-data driven code for ease of maintenance and compactness.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c