diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-07-17 09:25:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-21 15:37:40 -0400 |
commit | 84dd1f698e5fc2b4c1df3ea05371d2fff13c665c (patch) | |
tree | 4779618de3bab821443117378438d46a30484e29 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | |
parent | 9cb268215dbb186f4eaed589bda1a7a50ccabdc8 (diff) | |
download | linux-84dd1f698e5fc2b4c1df3ea05371d2fff13c665c.tar.gz linux-84dd1f698e5fc2b4c1df3ea05371d2fff13c665c.tar.bz2 linux-84dd1f698e5fc2b4c1df3ea05371d2fff13c665c.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h index 7e8647a05df7..9e7d640920fb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h @@ -47,7 +47,6 @@ struct amdgpu_ras_eeprom_control { uint32_t next_addr; unsigned int num_recs; struct mutex tbl_mutex; - bool bus_locked; uint32_t tbl_byte_sum; uint16_t i2c_address; // 8-bit represented address }; |