diff options
| author | Wenhui Sheng <[email protected]> | 2020-05-26 13:27:11 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-05-28 14:00:50 -0400 |
| commit | 2cdc9c200c8ab71d970f15186934b5b4687f2372 (patch) | |
| tree | 87eb3e07236c94edd0937a8c5245f3fd3f9b9ffe /tools/perf/scripts/python/bin | |
| parent | 41fb666d5cebddffd1253726f3c191c0353edba5 (diff) | |
drm/amd/powerplay: add check before i2c_add_adapter
smu_i2c_eeprom_init may be invoked twice or more
under sroiv mode, while we don't want to add check
if (!amdgpu_sriov_vf) before we invoke smu_i2c_eeprom_init/fini
each time, so we check if i2c adapter is already added
before we invoke i2c_add_adapter
Signed-off-by: Wenhui Sheng <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: Kevin Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions