1. 06 5月, 2022 1 次提交
    • M
      drm/amdgpu/gfx10: Avoid uninitialised variable 'index' · 8fab8e2e
      Mike Lothian 提交于
      This stops clang complaining:
      
      drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3846:6: warning: variable 'index' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
              if (ring->is_mes_queue) {
                  ^~~~~~~~~~~~~~~~~~
      drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3903:30: note: uninitialized use occurs here
              amdgpu_device_wb_free(adev, index);
                                          ^~~~~
      drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3846:2: note: remove the 'if' if its condition is always false
              if (ring->is_mes_queue) {
              ^~~~~~~~~~~~~~~~~~~~~~~~~
      drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3839:16: note: initialize the variable 'index' to silence this warning
              unsigned index;
                            ^
                             = 0
      Signed-off-by: NMike Lothian <mike@fireburn.co.uk>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      8fab8e2e
  2. 04 5月, 2022 12 次提交
  3. 26 4月, 2022 1 次提交
  4. 12 4月, 2022 1 次提交
    • G
      drm/amdgpu: Fix incorrect enum type · 6f90a49b
      Grigory Vasilyev 提交于
      Instead of the 'amdgpu_ring_priority_level' type,
      the 'amdgpu_gfx_pipe_priority' type was used,
      which is an error when setting ring priority.
      This is a minor error, but may cause problems in the future.
      
      Instead of AMDGPU_RING_PRIO_2 = 2, we can use AMDGPU_RING_PRIO_MAX = 3,
      but AMDGPU_RING_PRIO_2 = 2 is used for compatibility with
      AMDGPU_GFX_PIPE_PRIO_HIGH = 2, and not change the behavior of the
      code.
      Signed-off-by: NGrigory Vasilyev <h0tc0d3@gmail.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      6f90a49b
  5. 09 4月, 2022 1 次提交
  6. 01 4月, 2022 1 次提交
  7. 26 3月, 2022 1 次提交
  8. 16 3月, 2022 1 次提交
  9. 03 3月, 2022 4 次提交
  10. 18 2月, 2022 1 次提交
  11. 17 2月, 2022 2 次提交
  12. 12 2月, 2022 1 次提交
  13. 10 2月, 2022 1 次提交
  14. 26 1月, 2022 3 次提交
  15. 25 11月, 2021 2 次提交
  16. 06 11月, 2021 1 次提交
  17. 04 11月, 2021 1 次提交
  18. 22 10月, 2021 1 次提交
  19. 20 10月, 2021 1 次提交
  20. 05 10月, 2021 2 次提交
  21. 06 8月, 2021 1 次提交