]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e89fff73d2009aaf2687a220dbb249942f5a621
tree93c376446048d1ea8c920f61ff694210a2c478c5
parent35bf538c0d8f143af3ace3ab1355204db2890fc9
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