aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug-internal.h
diff options
context:
space:
mode:
authorWenhui Sheng <Wenhui.Sheng@amd.com>2020-05-26 13:27:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-05-28 14:00:50 -0400
commit2cdc9c200c8ab71d970f15186934b5b4687f2372 (patch)
tree87eb3e07236c94edd0937a8c5245f3fd3f9b9ffe /tools/lib/api/debug-internal.h
parent41fb666d5cebddffd1253726f3c191c0353edba5 (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 <Wenhui.Sheng@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/api/debug-internal.h')
0 files changed, 0 insertions, 0 deletions