mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 01:24:39 +08:00
drm/radeon: fix mclk vddc configuration for cards for hawaii
Need to use vddc0 for vdcc1 for certain hawaii configurations. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
489ba72c1e
commit
127e056e2a
@ -2924,6 +2924,14 @@ static int ci_populate_all_memory_levels(struct radeon_device *rdev)
|
||||
|
||||
pi->smc_state_table.MemoryLevel[0].EnabledForActivity = 1;
|
||||
|
||||
if ((dpm_table->mclk_table.count >= 2) &&
|
||||
((rdev->pdev->device == 0x67B0) || (rdev->pdev->device == 0x67B1))) {
|
||||
pi->smc_state_table.MemoryLevel[1].MinVddc =
|
||||
pi->smc_state_table.MemoryLevel[0].MinVddc;
|
||||
pi->smc_state_table.MemoryLevel[1].MinVddcPhases =
|
||||
pi->smc_state_table.MemoryLevel[0].MinVddcPhases;
|
||||
}
|
||||
|
||||
pi->smc_state_table.MemoryLevel[0].ActivityLevel = cpu_to_be16(0x1F);
|
||||
|
||||
pi->smc_state_table.MemoryDpmLevelCount = (u8)dpm_table->mclk_table.count;
|
||||
|
Loading…
Reference in New Issue
Block a user