drm/i915/guc: Route semaphores to GuC for Gen12+
authorMichał Winiarski <michal.winiarski@intel.com>
Thu, 28 Jul 2022 02:42:20 +0000 (19:42 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 29 Jul 2022 17:35:53 +0000 (10:35 -0700)
commit9fb3473732908ff0f8d8f8763318c407489ae955
tree798faeac28170241a92e6d8b2e812143382464c1
parent22645976ae4c0e7eebc8cee7942692280457551e
drm/i915/guc: Route semaphores to GuC for Gen12+

In GuC submission mode, there is an option to use auto-switch out
semaphores and have GuC auto-switch in a waiting context. This
requires routing the semaphore interrupt to GuC.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728024225.2363663-2-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c