]> www.infradead.org Git - nvme.git/commit
drm/amdgpu: add mutex to protect ras shared memory
authorYiPeng Chai <YiPeng.Chai@amd.com>
Fri, 12 Apr 2024 05:46:03 +0000 (13:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2024 15:44:30 +0000 (11:44 -0400)
commitb3fb79cda5688a44a423c27b791f5456d801e49c
tree5ed05d47902fd492df8a37d7806e8ae67ca60d93
parent0e2c796b49735ee141fbff355b9d02e0189c3c65
drm/amdgpu: add mutex to protect ras shared memory

Add mutex to protect ras shared memory.

v2:
  Add TA_RAS_COMMAND__TRIGGER_ERROR command call
  status check.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c