• Rex Zhu's avatar
    drm/amdgpu: extend profiling mode. · 570272d2
    Rex Zhu authored
    in profiling mode, powerplay will fix power state
    as stable as possible.and disable gfx cg and LBPW feature.
    
    profile_standard: as a prerequisite, ensure power and thermal
    sustainable, set clocks ratio as close to the highest clock
    ratio as possible.
    profile_min_sclk: fix mclk as profile_normal, set lowest sclk
    profile_min_mclk: fix sclk as profile_normal, set lowest mclk
    profile_peak: set highest sclk and mclk, power and thermal not
    sustainable
    profile_exit: exit profile mode. enable gfx cg/lbpw feature.
    Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    570272d2
amdgpu_pm.c 40.3 KB