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)
commit2e496ac200c13ab1de6dc504a2566c612b493a4e
tree66fdac919588d4b74246dee38d2490b5762ddda4
parentd35ca600873eebceb071af81bdc279fb6ec538db
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