• R
    drm/amd/pp: Refine the output of pp_power_profile_mode on VI · 639f7902
    Rex Zhu 提交于
    In order to keep consist with Vega,
    the output format of the pp_power_profile_mode would be
    <integer><mode name string>< “*” for current profile>:"detail settings"
    and remove the "CURRENT" mode line.
    
    for example:
    NUM        MODE_NAME     SCLK_UP_HYST   SCLK_DOWN_HYST SCLK_ACTIVE_LEVEL     MCLK_UP_HYST   MCLK_DOWN_HYST MCLK_ACTIVE_LEVEL
      0   3D_FULL_SCREEN:        0              100               30                0              100               10
      1     POWER_SAVING:       10                0               30                -                -                -
      2            VIDEO:        -                -                -               10               16               31
      3               VR:        0               11               50                0              100               10
      4          COMPUTE:        0                5               30                -                -                -
      5         CUSTOM *:        0                5               30                0              100               10
    NUM        MODE_NAME     SCLK_UP_HYST   SCLK_DOWN_HYST SCLK_ACTIVE_LEVEL     MCLK_UP_HYST   MCLK_DOWN_HYST MCLK_ACTIVE_LEVEL
      0   3D_FULL_SCREEN:        0              100               30                0              100               10
      1   POWER_SAVING *:       10                0               30                0              100               10
      2            VIDEO:        -                -                -               10               16               31
      3               VR:        0               11               50                0              100               10
      4          COMPUTE:        0                5               30                -                -                -
      5           CUSTOM:        -                -                -                -                -                -
    Reviewed-by: NEvan Quan <evan.quan@amd.com>
    Acked-by: NAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: NRex Zhu <Rex.Zhu@amd.com>
    Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
    639f7902
smu7_hwmgr.h 12.2 KB