]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Stop using mutex while sending CTB messages
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 3 Jun 2021 05:16:26 +0000 (22:16 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Jun 2021 08:40:50 +0000 (10:40 +0200)
commit0f0f58480ba9ecbb47af5c8dfc0c159f8da1d779
tree66fdac919588d4b74246dee38d2490b5762ddda4
parent3ceadec83d16aefa43228b10e1847b466e5e5b65
drm/i915/guc: Stop using mutex while sending CTB messages

We are no longer using descriptor to hold G2H replies and we are
protecting access to the descriptor and command buffer by the
separate spinlock, so we can stop using mutex.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603051630.2635-17-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c