1. 27 5月, 2022 1 次提交
  2. 11 5月, 2022 1 次提交
  3. 07 5月, 2022 1 次提交
  4. 04 5月, 2022 4 次提交
  5. 29 4月, 2022 2 次提交
  6. 22 4月, 2022 1 次提交
  7. 09 4月, 2022 1 次提交
  8. 26 3月, 2022 1 次提交
  9. 16 3月, 2022 2 次提交
  10. 03 3月, 2022 2 次提交
  11. 25 2月, 2022 1 次提交
  12. 24 2月, 2022 4 次提交
  13. 23 2月, 2022 1 次提交
  14. 18 2月, 2022 2 次提交
  15. 17 2月, 2022 1 次提交
  16. 15 2月, 2022 2 次提交
  17. 12 2月, 2022 1 次提交
  18. 10 2月, 2022 10 次提交
  19. 03 2月, 2022 1 次提交
  20. 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