]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Use correct context lock when callig clr_context_registered
authorMatthew Brost <matthew.brost@intel.com>
Tue, 14 Dec 2021 17:04:54 +0000 (09:04 -0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 20 Dec 2021 11:59:31 +0000 (13:59 +0200)
commit5a0e7bc3ab10068c534038afe7374ebf09578be7
tree86be961156e3f97738cd8c1ad517d921cbd7cc52
parent9281157acd869fc0a0550d915a996c5853493e63
drm/i915/guc: Use correct context lock when callig clr_context_registered

s/ce/cn/ when grabbing guc_state.lock before calling
clr_context_registered.

Fixes: dd0b021b930f8 ("drm/i915/guc: Rework and simplify locking")
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/20211214170500.28569-2-matthew.brost@intel.com
(cherry picked from commit b25db8c782ad7ae80d4cea2a09c222f4f8980bb9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c