]> 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)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 16 Dec 2021 03:09:21 +0000 (19:09 -0800)
commit523fca107e7835a72b5321d269863a2e59bbc2a8
tree4e1c899c562563e4207f9aab3b76f3f2df9b68bb
parent5c3da0c84912e9124b70db9e54c82cb43068bfde
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: 95fce41fd51ea ("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
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c