drm/amdgpu: move i2c bus lock out of ras structure
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Jul 2020 13:25:38 +0000 (09:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jul 2020 19:37:40 +0000 (15:37 -0400)
commit84dd1f698e5fc2b4c1df3ea05371d2fff13c665c
tree4779618de3bab821443117378438d46a30484e29
parent9cb268215dbb186f4eaed589bda1a7a50ccabdc8
drm/amdgpu: move i2c bus lock out of ras structure

It's not really ras related.  It's just a lock for the
bus in general.  This removes the ras dependency from
the smu i2c bus.

Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c