]> 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)
commitd08e4f125c149accea83e885fd7690f1edb73271
tree32b03958d491c72905c5887220580f3b9b32b4cf
parentf1213bb91c8fbe6db54869a0ee2113409b4ccd4e
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