diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-06-28 00:54:46 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-28 01:16:12 +0200 |
commit | 5d77d776416a8881e49d42a30e0eaa919fc98ba5 (patch) | |
tree | 6dc48c87becb61cbc96d7cd7f8a44f0813ba8fe5 /drivers/gpu/drm/radeon/rv770_dpm.h | |
parent | drm/radeon/dpm/rv6xx: restructure code (diff) | |
download | linux-5d77d776416a8881e49d42a30e0eaa919fc98ba5.tar.xz linux-5d77d776416a8881e49d42a30e0eaa919fc98ba5.zip |
drm/radeon/dpm/rv7xx: restructure code
Needed to properly handle dynamic state adjustment.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770_dpm.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.h b/drivers/gpu/drm/radeon/rv770_dpm.h index d1fb1cfac43d..7fa14b9557f3 100644 --- a/drivers/gpu/drm/radeon/rv770_dpm.h +++ b/drivers/gpu/drm/radeon/rv770_dpm.h @@ -267,8 +267,12 @@ int rv770_resume_smc(struct radeon_device *rdev); int rv770_set_sw_state(struct radeon_device *rdev); int rv770_set_boot_state(struct radeon_device *rdev); int rv7xx_parse_power_table(struct radeon_device *rdev); -void rv770_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev); -void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev); +void rv770_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev, + struct radeon_ps *new_ps, + struct radeon_ps *old_ps); +void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev, + struct radeon_ps *new_ps, + struct radeon_ps *old_ps); /* smc */ int rv770_read_smc_soft_register(struct radeon_device *rdev, |