AMD Carrizo Powerplay, this function not implement
19 | 20 Nov 2016Whilst using the powerplay functionality I found a couple of error lines in the log;
[    1.643745] amdgpu: powerplay initialized
[    1.890909] [ powerplay ] this function not implement!
[    1.890910] [ powerplay ] min_core_set_clock not set
Additional Debugging
[    2.000957] amdgpu: powerplay initialized
[    2.009467] [ powerplay:mikedebug ] phm_setup_asic
[    2.010278] [ powerplay:mikedebug ] phm_enable_dynamic_state_management
[    2.245778] [ powerplay:mikedebug ] phm_display_configuration_changed
[    2.245783] [ powerplay ] this function not implement!
[    2.245786] [ powerplay:mikedebug ] phm_set_power_state
[    2.245790] [ powerplay ] min_core_set_clock not set
[    2.246678] [ powerplay:mikedebug ] phm_display_configuration_changed
[    2.246682] [ powerplay ] this function not implement!
[    2.246684] [ powerplay:mikedebug ] phm_set_power_state
[    2.246687] [ powerplay ] min_core_set_clock not set
[    2.247654] [ powerplay:mikedebug ] phm_display_configuration_changed
[    2.247658] [ powerplay ] this function not implement!
[    2.247661] [ powerplay:mikedebug ] phm_set_power_state
[    2.247663] [ powerplay ] min_core_set_clock not set
With the additional debug lines I was able to trace back that the two lines are two seperate errors. and not a missing function preventing "min_core_set_clock".
this function not implement
Upon tracing back this error, it is caused by an empty function declairation in cz_dpm.c.
/* fix me, display configuration change lists here
 * mostly dal related*/
static void cz_dpm_display_configuration_changed(struct amdgpu_device *adev)
{
}
The only other cpu type with this function is found in ci_dpm.c, which looks to have been copied over from the old radeon driver.
min_core_set_clock not set
This error seems to come from "cz_hwmgr.c", I've not yet got to the bottom of this error.
    clock = hwmgr->display_config.min_core_set_clock;
    if (clock == 0)
        printk(KERN_INFO "[ powerplay ] min_core_set_clock not setn");










