]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Only assign guc_id.id when stealing guc_id
authorMatthew Brost <matthew.brost@intel.com>
Tue, 14 Dec 2021 17:04:55 +0000 (09:04 -0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 20 Dec 2021 11:59:35 +0000 (13:59 +0200)
commitf85a25df7eb964ac593de4668bc5355740e65c28
treeda5eb7778789377f3b41079ac43a8e2b579476d8
parent5a0e7bc3ab10068c534038afe7374ebf09578be7
drm/i915/guc: Only assign guc_id.id when stealing guc_id

Previously assigned whole guc_id structure (list, spin lock) which is
incorrect, only assign the guc_id.id.

Fixes: dd0b021b930f8 ("drm/i915/guc: Rework and simplify locking")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214170500.28569-3-matthew.brost@intel.com
(cherry picked from commit 939d8e9c87e704fd5437e2c8b80929591fe540eb)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c