Skip to content
Snippets Groups Projects
  1. Feb 13, 2025
  2. 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
  3. Dec 18, 2024
  4. Dec 10, 2024
  5. Nov 20, 2024
  6. Nov 11, 2024
  7. Nov 04, 2024
  8. Sep 26, 2024
  9. 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
  10. Sep 17, 2024
  11. Aug 06, 2024
  12. Jul 23, 2024
  13. Jul 10, 2024
  14. Jul 08, 2024
  15. Jul 01, 2024
  16. Jun 27, 2024
Loading