drm/i915: Move semaphore object creation into intel_ring_init_semaphores
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 15:09:28 +0000 (16:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2016 16:20:45 +0000 (17:20 +0100)
commitdb3d4019abaa3a52e66a86fc938a8315f8c4200a
tree850baed3f3dcf2850b7e2c53f666bf8087a2d474
parentd9a64610b27af01404cc881850cc4903c51a851d
drm/i915: Move semaphore object creation into intel_ring_init_semaphores

The object needs to be created before semaphores can be initialized
on any ring and it makes sense to pull it out to this semaphore
dedicated helper.

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