diff options
author | 2023-06-20 17:05:25 +0800 | |
---|---|---|
committer | 2023-07-10 09:02:37 -0400 | |
commit | 62b73bd50d7d56b8aa0c3ccdaa4c206ec47cc34d (patch) | |
tree | 50c1f0da7275f66d83c17fa85d1326aca65e954e /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amdgpu: Fix warnings in gmc_v11_0.c (diff) | |
download | linux-rng-62b73bd50d7d56b8aa0c3ccdaa4c206ec47cc34d.tar.xz linux-rng-62b73bd50d7d56b8aa0c3ccdaa4c206ec47cc34d.zip |
drm/amd/pm: fix smu i2c data read risk
the smu driver_table is used for all types of smu
tables data transcation (e.g: PPtable, Metrics, i2c, Ecc..).
it is necessary to hold this lock to avoiding data tampering
during the i2c read operation.
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions