drm/i915/ringbuffer: Move all generic engine->dispatch_batchbuffer together
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 08:18:12 +0000 (09:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 08:48:00 +0000 (09:48 +0100)
commit6f7bef75d10e04ad62c0264614df4e013e5e4b67
tree9666a2a2eda0475fe917560995d5cff227f8dab9
parent8d228911ffc08bfaa8224d160df8ca64e9dc8274
drm/i915/ringbuffer: Move all generic engine->dispatch_batchbuffer together

Consolidate the block of default vfuncs for dispatching the batchbuffer.
Just a minor tweak on top of Tvrtko's great job of tidying up the vfunc
initialisation.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467361093-20209-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.c