]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3c1297f188d8f681d17ec732b502460a594ff24
tree4dddf76f62e3f01cbc4fd0176bee1daac3ae8f9b
parentfd3198b8f913e062790dec9e97fb9abcb850ba06
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