]> 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)
commit5910f384ae2ae467d2edc7986a9d40b1c6f390dd
tree93c376446048d1ea8c920f61ff694210a2c478c5
parentb998478abddb512f6bd5dfc278db933f31ffdb89
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