diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-09-10 01:27:01 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-09-11 17:44:38 +0200 |
commit | 64d03221eed88dce7f0c1edd44a3680b595b29bd (patch) | |
tree | 039a678bc817135e4c6b93adeb39116c95b597d8 /drivers/gpu/drm/radeon/kv_dpm.h | |
parent | drm/radeon/dpm: handle bapm on trinity (diff) | |
download | linux-64d03221eed88dce7f0c1edd44a3680b595b29bd.tar.xz linux-64d03221eed88dce7f0c1edd44a3680b595b29bd.zip |
drm/radeon/dpm: handle bapm on kb/kv
bapm is a power management feature for handling the
power budget between the CPU and GPU on APUs. This
patch adds support for enabling or disabling it.
For now disable it by default. Enabling it properly
requires quite a bit more work and will be addressed
in a separate patch.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/kv_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/kv_dpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/kv_dpm.h b/drivers/gpu/drm/radeon/kv_dpm.h index 32bb079572d7..8cef7525d7a8 100644 --- a/drivers/gpu/drm/radeon/kv_dpm.h +++ b/drivers/gpu/drm/radeon/kv_dpm.h @@ -192,6 +192,7 @@ int kv_send_msg_to_smc_with_parameter(struct radeon_device *rdev, int kv_read_smc_sram_dword(struct radeon_device *rdev, u32 smc_address, u32 *value, u32 limit); int kv_smc_dpm_enable(struct radeon_device *rdev, bool enable); +int kv_smc_bapm_enable(struct radeon_device *rdev, bool enable); int kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit); |