OSDN Git Service

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)
commit2aa9f833dd08594584ce2add23a3cd11f0d623bf
tree7a440a97777664af8ffc01b0ba18d9cca004aca2
parent6e94d53962f7bc972582dbfb46b31f3a6e328a47
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