• Darren Powell's avatar
    amdgpu/pm: Powerplay API for smu , updates to some pm functions · 8f4828d0
    Darren Powell authored
    v3: updated to include new clocks od_vddgfx_offset, od_cclk
        Context mismatch with revision v3 to patch 0003
    
    Modified Functions
      smu_sys_set_pp_table()        - modifed signature to match Powerplay API set_pp_table
      smu_force_performance_level() - modifed arg0 to match Powerplay API force_performance_level
      smu_od_edit_dpm_table()       - modifed arg0 to match Powerplay API odn_edit_dpm_table
    
    Other Changes
      smu_od_edit_dpm_table()       - removed call to task(READJUST_POWER_STATE) after COMMIT_TABLE,
                                      now handled in calling function
      amdgpu_set_power_dpm_force_performance_level() - now checks thermal for swsmu systems before trying to change level
      amdgpu_set_pp_od_clk_voltage() - now attempts to set fine_grain_clock_vol before swsmu edit dpm table
    Signed-off-by: default avatarDarren Powell <darren.powell@amd.com>
    Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    8f4828d0
amdgpu_smu.h 38.4 KB