]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/guc: Process all G2H message at once in work queue
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:26 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:29 +0000 (11:30 -0700)
commitd67e3d5a5da8ddcad7fcfac6a2a521128e4304af
tree2f62939e03efa40a1a0434012c7276f53a78a5a8
parent88209a8ecb8b8752322908a3c3362a001bdc3a39
drm/i915/guc: Process all G2H message at once in work queue

Rather than processing 1 G2H at a time and re-queuing the work queue if
more messages exist, process all the G2H in a single pass of the work
queue.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-6-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c