diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-12-17 09:51:40 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-18 16:09:14 -0500 |
commit | 0371e2fba42158cb55f6d2c8cf4c9c0821677c0c (patch) | |
tree | be68cb97cfb509382dee1ef6e92209bad34840ab /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | ed09a629bbb4791e9e5a499700e07879bd34170a (diff) |
drm/amdgpu/smu: add metrics table lock for vega20 (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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions