drm/amdgpu: added synchronization for psp cmd buf access
authorJohn Clements <john.clements@amd.com>
Wed, 4 Aug 2021 03:31:03 +0000 (11:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 01:17:59 +0000 (21:17 -0400)
commit4b296527549853eae8f1f0e010eaaea511ab00d7
tree54bbce8fb1aa3bb25f811b623100d640d21d7507
parent9712ee0e44e099d002dcbdd73230457d85f92f9c
drm/amdgpu: added synchronization for psp cmd buf access

resolved race condition accessing psp cmd submission memory

Signed-off-by: John Clements <john.clements@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c