diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-08-09 16:05:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 22:30:36 +0200 |
commit | 942bdf7f9ebc9a46e3f9b3c235112c0947905453 (patch) | |
tree | be45a39083cb9961cd1b6c58703b8ca056e45cb5 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | drm/radeon/dpm: implement UVD powergating for KB/KV (diff) | |
download | linux-942bdf7f9ebc9a46e3f9b3c235112c0947905453.tar.xz linux-942bdf7f9ebc9a46e3f9b3c235112c0947905453.zip |
drm/radeon/dpm: implement UVD powergating for CI
Disable the UVD block when not in use to save power.
The block is not actually powergated on CI, but we
switch between UVD DPM (where the uvd clocks are
adjusted on demand) and clocks off.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 9060757e4dc1..5630291c4b06 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -766,6 +766,7 @@ void ci_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, int ci_dpm_force_performance_level(struct radeon_device *rdev, enum radeon_dpm_forced_level level); bool ci_dpm_vblank_too_short(struct radeon_device *rdev); +void ci_dpm_powergate_uvd(struct radeon_device *rdev, bool gate); int kv_dpm_init(struct radeon_device *rdev); int kv_dpm_enable(struct radeon_device *rdev); |