diff options
author | Yang Wang <kevinyang.wang@amd.com> | 2023-06-20 17:05:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-10 09:02:37 -0400 |
commit | 62b73bd50d7d56b8aa0c3ccdaa4c206ec47cc34d (patch) | |
tree | 50c1f0da7275f66d83c17fa85d1326aca65e954e /samples/kmemleak | |
parent | 38d47145b0dbe9069945c678e1f2067568d6e903 (diff) |
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 'samples/kmemleak')
0 files changed, 0 insertions, 0 deletions