]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Drop pin count check trick between sched_disable and re-pin
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:40 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:50 +0000 (11:30 -0700)
commitb1c8c1a73fe37cea3f964d95666ee5b37c888320
treede9d075a164886a410901adeda64c73840f01da1
parent727805082de1218e5882629ef4c1671c2507925b
drm/i915/guc: Drop pin count check trick between sched_disable and re-pin

Drop pin count check trick between a sched_disable and re-pin, now rely
on the lock and counter of the number of committed requests to determine
if scheduling should be disabled on the context.

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-20-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_context_types.h
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c