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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user