An error occurred fetching the project authors.
  1. 18 Jan, 2024 1 commit
  2. 26 Oct, 2023 1 commit
  3. 20 Oct, 2023 1 commit
  4. 13 Oct, 2023 1 commit
  5. 09 Oct, 2023 1 commit
  6. 28 Sep, 2023 1 commit
  7. 06 Sep, 2023 4 commits
  8. 30 Aug, 2023 1 commit
  9. 15 Aug, 2023 4 commits
  10. 09 Aug, 2023 1 commit
  11. 12 Jul, 2023 1 commit
  12. 10 Jul, 2023 1 commit
  13. 09 Jun, 2023 1 commit
  14. 19 Oct, 2022 1 commit
  15. 17 Oct, 2022 1 commit
  16. 22 Jun, 2022 2 commits
    • Darren Powell's avatar
      amdgpu/pm: Fix possible array out-of-bounds if SCLK levels != 2 · ceb18036
      Darren Powell authored
       [v2]
      simplified fix after Lijo's feedback
       removed clocks.num_levels from calculation of loop count
         removed unsafe accesses to shim table freq_values
       retained corner case output only min,now if
         clocks.num_levels == 1 && now > min
      
       [v1]
      added a check to populate and use SCLK shim table freq_values only
         if using dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL or
                               AMD_DPM_FORCED_LEVEL_PERF_DETERMINISM
      removed clocks.num_levels from calculation of shim table size
      removed unsafe accesses to shim table freq_values
         output gfx_table values if using other dpm levels
      added check for freq_match when using freq_values for when now == min_clk
      
      == Test ==
      LOGFILE=aldebaran-sclk.test.log
      AMDGPU_PCI_ADDR=`lspci -nn | grep "VGA\|Display" | cut -d " " -f 1`
      AMDGPU_HWMON=`ls -la /sys/class/hwmon | grep $AMDGPU_PCI_ADDR | awk '{print $9}'`
      HWMON_DIR=/sys/class/hwmon/${AMDGPU_HWMON}
      
      lspci -nn | grep "VGA\|Display"  > $LOGFILE
      FILES="pp_od_clk_voltage
      pp_dpm_sclk"
      
      for f in $FILES
      do
        echo === $f === >> $LOGFILE
        cat $HWMON_DIR/device/$f >> $LOGFILE
      done
      cat $LOGFILE
      Signed-off-by: default avatarDarren Powell <darren.powell@amd.com>
      Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ceb18036
    • Darren Powell's avatar
      amdgpu/pm: Fix incorrect variable for size of clocks array · 543faf57
      Darren Powell authored
       [v2]
      No Changes, added RB
       [v1]
      Size of pp_clock_levels_with_latency is PP_MAX_CLOCK_LEVELS, not MAX_NUM_CLOCKS.
      Both are currently defined as 16, modifying in case one value is modified in future
      Changed code in both arcturus and aldabaran.
      
      Also removed unneeded var count, and used min_t function
      Signed-off-by: default avatarDarren Powell <darren.powell@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      543faf57
  17. 03 Jun, 2022 3 commits
  18. 26 May, 2022 1 commit
  19. 01 Apr, 2022 1 commit
  20. 15 Mar, 2022 1 commit
  21. 07 Feb, 2022 2 commits
  22. 27 Jan, 2022 2 commits
  23. 25 Jan, 2022 3 commits
  24. 14 Jan, 2022 2 commits
  25. 11 Jan, 2022 1 commit
  26. 30 Dec, 2021 1 commit