drm/i915: Consolidate write_tail vfunc initializer
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 15:09:20 +0000 (16:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2016 16:20:43 +0000 (17:20 +0100)
commit06a2fe22796d9497a35778acc0becb073b242e35
treeda79c8c42f6ea2def3e0a3b225e701b30b113c41
parentffebb83b34f843aadcbd3e03c4e449da14d0870d
drm/i915: Consolidate write_tail vfunc initializer

Introduce a function which initializes vfuncs mostly common
across engines and move write_tail initialization in it since
only one engine overrides the default.

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