diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-17 00:16:41 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-17 00:16:41 +0400 |
commit | 381bd9517a7e611871694689c67901d189cf6a62 (patch) | |
tree | 7f9492cbbb93039ef84722e518e2ca6e8ad0c364 /drivers/gpu/drm/radeon/kv_smc.c | |
parent | 01b9e0418689951c6ae4ba3b221bc42f49eb6407 (diff) | |
parent | f6bd03a746271f298aa5bfb6e049b245757efaed (diff) | |
download | linux-381bd9517a7e611871694689c67901d189cf6a62.tar.xz |
Merge remote-tracking branch 'spi/topic/trivial' into spi-atmel
Conflicts (trivial overlapping cleanups):
drivers/spi/spi-atmel.c
Diffstat (limited to 'drivers/gpu/drm/radeon/kv_smc.c')
-rw-r--r-- | drivers/gpu/drm/radeon/kv_smc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/kv_smc.c b/drivers/gpu/drm/radeon/kv_smc.c index 34a226d7e34a..0000b59a6d05 100644 --- a/drivers/gpu/drm/radeon/kv_smc.c +++ b/drivers/gpu/drm/radeon/kv_smc.c @@ -107,6 +107,14 @@ int kv_smc_dpm_enable(struct radeon_device *rdev, bool enable) return kv_notify_message_to_smu(rdev, PPSMC_MSG_DPM_Disable); } +int kv_smc_bapm_enable(struct radeon_device *rdev, bool enable) +{ + if (enable) + return kv_notify_message_to_smu(rdev, PPSMC_MSG_EnableBAPM); + else + return kv_notify_message_to_smu(rdev, PPSMC_MSG_DisableBAPM); +} + int kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) |