]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/smu: add metrics table lock for arcturus (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Dec 2019 14:49:52 +0000 (09:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 29 Dec 2019 06:57:56 +0000 (01:57 -0500)
commit1da87c9f67c98d552679974dbfc1f0f65b6a0a53
tree453967a7c77d96fca9f463152840deb432281a48
parent073d5eef9e043c2b7e3ef12bc6c879b1d248e831
drm/amdgpu/smu: add metrics table lock for arcturus (v2)

To protect access to the metrics table.

v2: unlock on error

Bug: https://gitlab.freedesktop.org/drm/amd/issues/900
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c