OSDN Git Service

drm/i915/guc: Move guc_blocked fence to struct guc_state
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:37 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:45 +0000 (11:30 -0700)
commit52d66c06fd9412e9738330b0502b4b89bf079405
tree4dddf76f62e3f01cbc4fd0176bee1daac3ae8f9b
parentb0d83888a32b30cb95bee7385151ac58d51a2340
drm/i915/guc: Move guc_blocked fence to struct guc_state

Move guc_blocked fence to struct guc_state as the lock which protects
the fence lives there.

s/ce->guc_blocked/ce->guc_state.blocked/g

v2:
 (Daniele)
  - s/blocked_fence/blocked/g

Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-17-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