drm/i915: Consolidate add_request vfunc
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 15:09:21 +0000 (16:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2016 16:20:43 +0000 (17:20 +0100)
commit7445a2a41362a570f25354ab1f9b6c23d13b30d3
tree806d1f61242444d4f5fc2d4ddc7dffa360544765
parent06a2fe22796d9497a35778acc0becb073b242e35
drm/i915: Consolidate add_request vfunc

All engines apart from render select this based on Gen.

Move it to the common helper as well.

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