1. 18 10月, 2022 1 次提交
  2. 20 9月, 2022 1 次提交
  3. 17 5月, 2022 1 次提交
  4. 11 5月, 2022 1 次提交
  5. 06 5月, 2022 3 次提交
  6. 04 5月, 2022 3 次提交
  7. 09 4月, 2022 1 次提交
  8. 05 4月, 2022 1 次提交
  9. 01 4月, 2022 2 次提交
  10. 29 3月, 2022 1 次提交
  11. 16 3月, 2022 1 次提交
  12. 25 2月, 2022 1 次提交
  13. 17 2月, 2022 1 次提交
  14. 12 2月, 2022 1 次提交
    • D
      amdgpu/pm: Add emit_clock_levels calls · c8cb19c7
      Darren Powell 提交于
         (v4)
           Modifications to satisfy checkpatch --strict
         (v3)
           Rewrote patchset to order patches as (API, hw impl, usecase)
      
           - modified amdgpu_get_pp_od_clk_voltage to try
             amdgpu_dpm_emit_clock_levels and fallback to
             amdgpu_dpm_print_clock_levels if emit is not implemented.
           - modified amdgpu_get_pp_dpm_clock to try
             amdgpu_dpm_emit_clock_levels and fallback to
             amdgpu_dpm_print_clock_levels if emit is not implemented.
           - Newline is printed to buf if no output produced
      
       == Test ==
       LOGFILE=pp_clk.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
       pp_dpm_mclk
       pp_dpm_pcie
       pp_dpm_socclk
       pp_dpm_fclk
       pp_dpm_dcefclk
       pp_dpm_vclk
       pp_dpm_dclk "
      
       for f in $FILES
       do
         echo === $f === >> $LOGFILE
         cat $HWMON_DIR/device/$f >> $LOGFILE
       done
       cat $LOGFILE
      Signed-off-by: NDarren Powell <darren.powell@amd.com>
      Reviewed-by: NEvan Quan <evan.quan@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c8cb19c7
  15. 10 2月, 2022 3 次提交
  16. 28 1月, 2022 1 次提交
    • A
      drm/amdgpu/UAPI: add new CTX OP to get/set stable pstates · 8cda7a4f
      Alex Deucher 提交于
      Add a new CTX ioctl operation to set stable pstates for profiling.
      When creating traces for tools like RGP or using SPM or doing
      performance profiling, it's required to enable a special
      stable profiling power state on the GPU.  These profiling
      states set fixed clocks and disable certain other power
      features like powergating which may impact the results.
      
      Historically, these profiling pstates were enabled via sysfs,
      but this adds an interface to enable it via the CTX ioctl
      from the application.  Since the power state is global
      only one application can set it at a time, so if multiple
      applications try and use it only the first will get it,
      the ioctl will return -EBUSY for others.  The sysfs interface
      will override whatever has been set by this interface.
      
      Mesa MR: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/207
      
      v2: don't default r = 0;
      v3: rebase on Evan's PM cleanup
      Reviewed-by: NEvan Quan <evan.quan@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      8cda7a4f
  17. 19 1月, 2022 1 次提交
  18. 15 1月, 2022 7 次提交
  19. 30 12月, 2021 2 次提交
  20. 02 12月, 2021 1 次提交
    • D
      amdgpu/pm: Create shared array of power profile name strings · 3867e370
      Darren Powell 提交于
       == Description ==
       All the power profile modes use the same strings (or a subset of)
       Creating a public array of the strings will allow sharing rather than
       duplicating for each chip
       First patch only implements change for navi10, followup with other chips
      
       == Changes ==
       Create a declaration of the public array in kgd_pp_interface.h
       Define the public array in amdgpu_pm.c
       Modify the implementaiton of navi10_get_power_profile_mode to use new array
      
       == Test ==
       LOGFILE=pp_profile_strings.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_power_profile_mode "
      
       for f in $FILES
       do
         echo === $f === >> $LOGFILE
         cat $HWMON_DIR/device/$f >> $LOGFILE
       done
       cat $LOGFILE
      Signed-off-by: NDarren Powell <darren.powell@amd.com>
      Reviewed-by: NLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      3867e370
  21. 23 11月, 2021 1 次提交
  22. 04 11月, 2021 1 次提交
  23. 29 10月, 2021 1 次提交
  24. 22 10月, 2021 1 次提交
  25. 15 9月, 2021 1 次提交
  26. 01 9月, 2021 1 次提交