]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Drop guc_active move everything into guc_state
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:43 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:54 +0000 (11:30 -0700)
commit0e4b613d0acb05bae60f2b51792356cd5858d7b3
tree81ec9dbbec6dd2a8f65011b8f4af19ed7ce9402f
parentf9891b05bccf51f7a0e9d4d29e46ade174c3255c
drm/i915/guc: Drop guc_active move everything into guc_state

Now that we have locking hierarchy of sched_engine->lock ->
ce->guc_state everything from guc_active can be moved into guc_state and
protected the guc_state.lock.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-23-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_context_types.h
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
drivers/gpu/drm/i915/i915_trace.h