]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Kick G2H tasklet if no credits
authorMatthew Brost <matthew.brost@intel.com>
Tue, 14 Dec 2021 17:04:59 +0000 (09:04 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 16 Dec 2021 03:10:51 +0000 (19:10 -0800)
commit1ea09bc8928242d984b8294935f9cabf84c96ff2
tree7a440a97777664af8ffc01b0ba18d9cca004aca2
parent229f4ae3814ebdcbcf28d9fcee767b61373dd4cc
drm/i915/guc: Kick G2H tasklet if no credits

Let's be paranoid and kick the G2H tasklet, which dequeues messages, if
G2H credits are exhausted.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214170500.28569-7-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c