Skip to content
Snippets Groups Projects
  1. Mar 18, 2025
  2. Mar 14, 2025
  3. Feb 27, 2025
  4. Feb 25, 2025
  5. Feb 17, 2025
  6. Feb 13, 2025
  7. Jan 06, 2025
    • SRINIVASAN SHANMUGAM's avatar
      drm/amdgpu: Fix error handling in amdgpu_ras_add_bad_pages · 9095567b
      SRINIVASAN SHANMUGAM authored
      
      It ensures that appropriate error codes are returned when an error
      condition is detected
      
      Fixes the below;
      drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2849 amdgpu_ras_add_bad_pages() warn: missing error code here? 'amdgpu_umc_pages_in_a_row()' failed.
      drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2884 amdgpu_ras_add_bad_pages() warn: missing error code here? 'amdgpu_ras_mca2pa()' failed.
      
      v2: s/-EIO/-EINVAL, retained the use of -EINVAL from
          amdgpu_umc_pages_in_a_row & and amdgpu_ras_mca2pa_by_idx, when the
          RAS context is not initialized or the convert_ras_err_addr function is
          unavailable. (Thomas)
      
      V3: Returning 0 as the absence of eh_data is acceptable. (Tao)
      
      Fixes: a8d133e6 ("drm/amdgpu: parse legacy RAS bad page mixed with new data in various NPS modes")
      Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
      Cc: YiPeng Chai <yipeng.chai@amd.com>
      Cc: Tao Zhou <tao.zhou1@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
      Reviewed-by: default avatarTao Zhou <tao.zhou1@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      9095567b
  8. Dec 18, 2024
  9. Dec 10, 2024
  10. Nov 20, 2024
  11. Nov 11, 2024
  12. Nov 04, 2024
  13. Sep 26, 2024
  14. Sep 18, 2024
    • Yan Zhen's avatar
      drm/amdgpu: fix typo in the comment · 0110ac11
      Yan Zhen authored
      
      Correctly spelled comments make it easier for the reader to understand
      the code.
      
      Replace 'udpate' with 'update' in the comment &
      replace 'recieved' with 'received' in the comment &
      replace 'dsiable' with 'disable' in the comment &
      replace 'Initiailize' with 'Initialize' in the comment &
      replace 'disble' with 'disable' in the comment &
      replace 'Disbale' with 'Disable' in the comment &
      replace 'enogh' with 'enough' in the comment &
      replace 'availabe' with 'available' in the comment.
      
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarYan Zhen <yanzhen@vivo.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      0110ac11
  15. Sep 17, 2024
  16. Aug 06, 2024
  17. Jul 23, 2024
  18. Jul 10, 2024
  19. Jul 08, 2024
Loading