aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_process.c
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 /drivers/gpu/drm/amd/amdkfd/kfd_process.c
parentdrm/amd/powerplay: remove SRIOV check in SMU11 (v2) (diff)
downloadlinux-dev-2cdc9c200c8ab71d970f15186934b5b4687f2372.tar.xz
linux-dev-2cdc9c200c8ab71d970f15186934b5b4687f2372.zip
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 'drivers/gpu/drm/amd/amdkfd/kfd_process.c')
0 files changed, 0 insertions, 0 deletions