diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-11 10:01:17 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-03-31 09:38:06 +1000 |
commit | 29fb52ca78b4e265ec6c626b0c7b2927953949cf (patch) | |
tree | 3b7d1741918d881ae904df3ea967390d4f122b5a /drivers/gpu/drm/radeon/radeon.h | |
parent | 2b497502b7cef167288a08737403a5a6cec697f0 (diff) | |
download | op-kernel-dev-29fb52ca78b4e265ec6c626b0c7b2927953949cf.zip op-kernel-dev-29fb52ca78b4e265ec6c626b0c7b2927953949cf.tar.gz |
drm/radeon/kms: expose thermal/fan i2c buses
Look up i2c bus in the power table and expose it.
You'll need to load a hwmon driver for any chips
on the bus, this patch just exposes the bus.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index bd63f53..46bfff9 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -168,6 +168,7 @@ struct radeon_clock { * Power management */ int radeon_pm_init(struct radeon_device *rdev); +void radeon_pm_fini(struct radeon_device *rdev); void radeon_pm_compute_clocks(struct radeon_device *rdev); void radeon_combios_get_power_modes(struct radeon_device *rdev); void radeon_atombios_get_power_modes(struct radeon_device *rdev); @@ -708,6 +709,7 @@ struct radeon_pm { struct radeon_power_state *requested_power_state; struct radeon_pm_clock_info *requested_clock_mode; struct radeon_power_state *default_power_state; + struct radeon_i2c_chan *i2c_bus; }; |