]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: replace assign_doorbell() with select_doorbell_register()
authorDave Gordon <david.s.gordon@intel.com>
Mon, 13 Jun 2016 16:57:33 +0000 (17:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 14 Jun 2016 14:04:07 +0000 (15:04 +0100)
commitf7545da263e0e17d08e032431190f04d7188cb0a
tree0c0b33d369d8dd25b79ea31c9bcc51b354f8f372
parent433f02516bdfcda7f4e726f7549b033600ad9ee1
drm/i915/guc: replace assign_doorbell() with select_doorbell_register()

This version doesn't update the doorbell bitmap, as that will
be done when the selected doorbell is associated with a client.

The call is now slightly earlier, just on the general principle
that potentially-failing operations should be done as early as
possible, to eliminate late failures and simplify recovery.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@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