diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-02-13 16:38:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:16:23 -0400 |
commit | eaa778aff0f19c35e9380c2bc5513b5b60ce01a6 (patch) | |
tree | 153c9da3bd059419edabbef11a1e0e508efe939b /drivers/gpu/drm/radeon/radeon.h | |
parent | e37e6a0e4fc68cfa9c54410170577de385231de0 (diff) | |
download | lwn-eaa778aff0f19c35e9380c2bc5513b5b60ce01a6.tar.gz lwn-eaa778aff0f19c35e9380c2bc5513b5b60ce01a6.zip |
drm/radeon/atom: add helper to calcuate mpll params
There's a new table for calculating the memory pll
parameters on SI. Required for SI DPM support.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index f57e36d6fb4a..1fb1d3faed0a 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -219,6 +219,10 @@ int radeon_atom_get_clock_dividers(struct radeon_device *rdev, u32 clock, bool strobe_mode, struct atom_clock_dividers *dividers); +int radeon_atom_get_memory_pll_dividers(struct radeon_device *rdev, + u32 clock, + bool strobe_mode, + struct atom_mpll_param *mpll_param); void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type); int radeon_atom_get_voltage_gpio_settings(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type, |