]> 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)
commitaf5bc9f21e3acb479683e4339c5c3ea27334b270
tree81ec9dbbec6dd2a8f65011b8f4af19ed7ce9402f
parent3cb3e3434b9f9c34e98605658818b72fdaef0795
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