]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/smu: add metrics table lock
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Dec 2019 14:35:01 +0000 (09:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 29 Dec 2019 06:57:31 +0000 (01:57 -0500)
commit7b77b1983f0bc17d195a31b9f852182b59370e0d
tree32b03958d491c72905c5887220580f3b9b32b4cf
parent87e58162962a06e31581ebdf2af0f0e168e33487
drm/amdgpu/smu: add metrics table lock

This table is used for lots of things, add it's own lock.

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/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h