1. 15 1月, 2021 2 次提交
    • X
      drm/amd/pm: modify the fine grain tuning function for vangogh · d7379efa
      Xiaojian Du 提交于
      This patch is to modify the fine grain tuning function for vangogh.
      This patch uses the existing old flag to make the two sysfs files
      work separately -- "power_dpm_force_performance_level" and
      "pp_od_clk_voltage".
      Only the power_dpm_force_performance_level is switched to "manual"
      mode, the fine grain tuning function will be started.
      In other mode, including "high","low","min_sclk","min_mclk",
      "standard" and "peak", the fine grain tuning function will be shut down,
      and the frequency range of gfx and cpu clock will be restored the
      default values.
      Signed-off-by: NXiaojian Du <Xiaojian.Du@amd.com>
      Reviewed-by: NKevin Wang <kevin1.wang@amd.com>
      Reviewed-by: NHuang Rui <ray.huang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      d7379efa
    • X
      drm/amd/pm: modify the fine grain tuning function for Renoir · e017fb66
      Xiaojian Du 提交于
      This patch is to modify the fine grain tuning function for Renoir.
      The fine grain tuning function uses the sysfs node -- pp_od_clk_voltage
      to config gfxclk. Meanwhile, another sysfs
      node -- power_dpm_force_perfomance_level also affects the gfx clk.
      It will cause confusion when these two sysfs nodes works
      together.
      It is risky to add two new flags to common smu struct, so
      this patch uses the existing flag to make these two sysfs nodes works
      separately. Only when power_dpm_force_perfomance_level is changed
      to "manual" mode, the fine grain function will be started.
      In other profile modes, including "auto", "high", "low", "profile_peak",
      "profile_standard", "profile_min_sclk", "profile_min_mclk",
      the fine grain tuning function will be shut down and the frequency range
      of gfx will be restored the default value.
      Signed-off-by: NXiaojian Du <Xiaojian.Du@amd.com>
      Reviewed-by: NHuang Rui <ray.huang@amd.com>
      Reviewed-by: NKevin Wang <kevin1.wang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      e017fb66
  2. 14 1月, 2021 1 次提交
  3. 09 1月, 2021 1 次提交
    • X
      drm/amd/pm: modify the fine grain tuning function for Renoir · 08da4fcd
      Xiaojian Du 提交于
      This patch is to improve the fine grain tuning function for Renoir.
      The fine grain tuning function uses the sysfs node -- pp_od_clk_voltage
      to config gfxclk. Meanwhile, another sysfs
      node -- power_dpm_force_perfomance_level also affects the gfx clk.
      It will cause confusion when these two sysfs nodes works
      together.
      And the flag "od_enabled" is used to control the overdrive function for
      dGPU, like navi10, navi14 and navi21.
      APU like Renior or Vangogh uses this "od_enabled" to configure
      the frequency range of gfx clock, but the max value of frequency
      range will not be higher than the safe limit, it is not "overdrive".
      So this patch adds two new flags -- "fine_grain_enabled" and
      "fine_grain_started" to avoid this confusion, the flag will
      make these two sysfs nodes work separately.
      The flag "fine_grain_enabled" is set as "enabled" by default,
      so the fine grain tuning function will be enabled by default.
      But the flag "fine_grain_started" is set as "false" by default,
      so the fine grain function will not take effect until it is set as
      "true".
      Only when power_dpm_force_perfomance_level is changed to
      "manual" mode, the flag "fine_grain_started" will be set as "true",
      and the fine grain tuning function will be started.
      In other profile modes, including "auto", "high", "low", "profile_peak",
      "profile_standard", "profile_min_sclk", "profile_min_mclk",
      the flag "fine_grain_started" will be set as "false", and the od range of
      fine grain tuning function will be restored default value.
      Signed-off-by: NXiaojian Du <Xiaojian.Du@amd.com>
      Reviewed-by: NHuang Rui <ray.huang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      08da4fcd
  4. 06 1月, 2021 1 次提交
  5. 24 12月, 2020 1 次提交
  6. 16 12月, 2020 1 次提交
  7. 02 12月, 2020 1 次提交
  8. 25 11月, 2020 1 次提交
  9. 19 11月, 2020 1 次提交
  10. 17 11月, 2020 1 次提交
  11. 14 11月, 2020 1 次提交
  12. 04 11月, 2020 1 次提交
  13. 30 10月, 2020 1 次提交
  14. 16 10月, 2020 2 次提交
  15. 15 10月, 2020 2 次提交
  16. 13 10月, 2020 1 次提交
  17. 10 10月, 2020 3 次提交
  18. 06 10月, 2020 2 次提交
  19. 01 10月, 2020 1 次提交
  20. 26 9月, 2020 1 次提交
  21. 23 9月, 2020 3 次提交
  22. 18 9月, 2020 8 次提交
  23. 16 9月, 2020 1 次提交
  24. 04 9月, 2020 2 次提交