aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-04-12 16:40:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:15:45 -0400
commitd70229f704474b2932e03367a528773e336f6205 (patch)
tree8e56480f4073505457f212706f7f3f81b89583bc /drivers/gpu/drm/radeon/radeon_asic.h
parent80ea2c129c76a4159a93efeaef4385b6c964dfac (diff)
drm/radeon/kms: add dpm support for trinity asics
This adds dpm support for trinity asics. This includes: - clockgating - powergating - dynamic engine clock scaling - dynamic voltage scaling set radeon.dpm=1 to enable it. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
index 336e3b63cfd6..709e5c9cad1b 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -587,6 +587,18 @@ bool cayman_gfx_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring);
587bool cayman_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring); 587bool cayman_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring);
588void cayman_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 588void cayman_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm);
589 589
590int trinity_dpm_init(struct radeon_device *rdev);
591int trinity_dpm_enable(struct radeon_device *rdev);
592void trinity_dpm_disable(struct radeon_device *rdev);
593int trinity_dpm_set_power_state(struct radeon_device *rdev);
594void trinity_dpm_setup_asic(struct radeon_device *rdev);
595void trinity_dpm_display_configuration_changed(struct radeon_device *rdev);
596void trinity_dpm_fini(struct radeon_device *rdev);
597u32 trinity_dpm_get_sclk(struct radeon_device *rdev, bool low);
598u32 trinity_dpm_get_mclk(struct radeon_device *rdev, bool low);
599void trinity_dpm_print_power_state(struct radeon_device *rdev,
600 struct radeon_ps *ps);
601
590/* DCE6 - SI */ 602/* DCE6 - SI */
591void dce6_bandwidth_update(struct radeon_device *rdev); 603void dce6_bandwidth_update(struct radeon_device *rdev);
592 604