drm/i915/guc: move guc_ring_doorbell() nearer to callsite
authorDave Gordon <david.s.gordon@intel.com>
Mon, 13 Jun 2016 16:57:31 +0000 (17:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 14 Jun 2016 14:04:07 +0000 (15:04 +0100)
commit10d2c3e2817bd7469ab350567d25db14b7fcdd1f
tree93c376446048d1ea8c920f61ff694210a2c478c5
parentdd16107f91a80bfee96f96737cf94003b8817ee2
drm/i915/guc: move guc_ring_doorbell() nearer to callsite

Just code movement, no actual change to the function. This is in
preparation for the next patch, which will reorganise all the other
doorbell code, but doesn't change this function. So let's shuffle it
down near its caller rather than leaving it mixed in with the setup
code. Unlike the doorbell management code, this function is somewhat
time-critical, so putting it near its caller may even yield a tiny
performance improvement.

Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_guc_submission.c