1. 26 1月, 2019 1 次提交
  2. 15 1月, 2019 1 次提交
  3. 05 12月, 2018 1 次提交
  4. 20 11月, 2018 1 次提交
    • G
      drm/amd/pp: handle negative values when reading OD · a4233cc9
      Greathouse, Joseph 提交于
      Reading the sysfs files pp_sclk_od and pp_mclk_od return the
      percentage difference between the VBIOS-provided default
      frequency and the current (possibly user-set) frequency in
      the highest SCLK and MCLK DPM states, respectively.
      
      Writing to these files provides an easy mechanism for
      setting a higher-than-default maximum frequency. We
      normally only allow values >= 0 to be written here.
      
      However, with the addition of pp_od_clk_voltage, we now
      allow users to set custom DPM tables. If they then set
      the maximum DPM state to something less than the default,
      later reads of pp_*_od should return a negative value.
      The highest DPM state is now less than the VBIOS-provided
      default, so the percentage is negative.
      
      The math to calculate this was originally performed with
      unsigned values, meaning reads that should return negative
      values returned meaningless data. This patch corrects that
      issue and normalizes how all of the calculations are done
      across the various hwmgr types.
      Acked-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NJoseph Greathouse <Joseph.Greathouse@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      a4233cc9
  5. 01 11月, 2018 2 次提交
  6. 27 9月, 2018 2 次提交
  7. 28 8月, 2018 2 次提交
  8. 25 7月, 2018 3 次提交
  9. 21 7月, 2018 2 次提交
  10. 17 7月, 2018 1 次提交
  11. 11 7月, 2018 1 次提交
  12. 06 7月, 2018 5 次提交
  13. 16 6月, 2018 1 次提交
  14. 15 6月, 2018 1 次提交
  15. 14 6月, 2018 1 次提交
  16. 01 6月, 2018 1 次提交
  17. 16 5月, 2018 9 次提交
  18. 12 4月, 2018 1 次提交
  19. 22 3月, 2018 2 次提交
  20. 20 3月, 2018 2 次提交