path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
diff options
authorAlex Deucher <>2020-07-17 09:25:38 -0400
committerAlex Deucher <>2020-07-21 15:37:40 -0400
commit84dd1f698e5fc2b4c1df3ea05371d2fff13c665c (patch)
tree4779618de3bab821443117378438d46a30484e29 /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
parent9cb268215dbb186f4eaed589bda1a7a50ccabdc8 (diff)
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 <> Signed-off-by: Alex Deucher <>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
index 7f3cd7185650..aa27fe65cdfa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
@@ -425,6 +425,7 @@ struct amdgpu_pm {
u32 default_sclk;
u32 default_mclk;
struct amdgpu_i2c_chan *i2c_bus;
+ bool bus_locked;
/* internal thermal controller on rv6xx+ */
enum amdgpu_int_thermal_type int_thermal_type;
struct device *int_hwmon_dev;