1. 15 1月, 2022 1 次提交
  2. 23 11月, 2021 1 次提交
  3. 28 9月, 2021 1 次提交
  4. 24 9月, 2021 2 次提交
  5. 02 9月, 2021 1 次提交
  6. 25 8月, 2021 2 次提交
  7. 17 8月, 2021 2 次提交
  8. 13 7月, 2021 1 次提交
    • L
      drm/amdgpu: Return error if no RAS · 43a44c53
      Luben Tuikov 提交于
      In amdgpu_ras_query_error_count() return an error
      if the device doesn't support RAS. This prevents
      that function from having to always set the values
      of the integer pointers (if set), and thus
      prevents function side effects--always to have to
      set values of integers if integer pointers set,
      regardless of whether RAS is supported or
      not--with this change this side effect is
      mitigated.
      
      Also, if no pointers are set, don't count, since
      we've no way of reporting the counts.
      
      Also, give this function a kernel-doc.
      
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Cc: John Clements <john.clements@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Reported-by: NTom Rix <trix@redhat.com>
      Fixes: a46751fb ("drm/amdgpu: Fix RAS function interface")
      Signed-off-by: NLuben Tuikov <luben.tuikov@amd.com>
      Reviewed-by: NAlexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      43a44c53
  9. 09 7月, 2021 1 次提交
    • L
      drm/amdgpu: Return error if no RAS · 4d9f771e
      Luben Tuikov 提交于
      In amdgpu_ras_query_error_count() return an error
      if the device doesn't support RAS. This prevents
      that function from having to always set the values
      of the integer pointers (if set), and thus
      prevents function side effects--always to have to
      set values of integers if integer pointers set,
      regardless of whether RAS is supported or
      not--with this change this side effect is
      mitigated.
      
      Also, if no pointers are set, don't count, since
      we've no way of reporting the counts.
      
      Also, give this function a kernel-doc.
      
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Cc: John Clements <john.clements@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Reported-by: NTom Rix <trix@redhat.com>
      Fixes: a46751fb ("drm/amdgpu: Fix RAS function interface")
      Signed-off-by: NLuben Tuikov <luben.tuikov@amd.com>
      Reviewed-by: NAlexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      4d9f771e
  10. 01 7月, 2021 1 次提交
    • L
      drm/amdgpu: RAS EEPROM table is now in debugfs · c65b0805
      Luben Tuikov 提交于
      Add "ras_eeprom_size" file in debugfs, which
      reports the maximum size allocated to the RAS
      table in EEROM, as the number of bytes and the
      number of records it could store. For instance,
      
      $cat /sys/kernel/debug/dri/0/ras/ras_eeprom_size
      262144 bytes or 10921 records
      $_
      
      Add "ras_eeprom_table" file in debugfs, which
      dumps the RAS table stored EEPROM, in a formatted
      way. For instance,
      
      $cat ras_eeprom_table
       Signature    Version  FirstOffs       Size   Checksum
      0x414D4452 0x00010000 0x00000014 0x000000EC 0x000000DA
      Index  Offset ErrType Bank/CU          TimeStamp      Offs/Addr MemChl MCUMCID    RetiredPage
          0 0x00014      ue    0x00 0x00000000607608DC 0x000000000000   0x00    0x00 0x000000000000
          1 0x0002C      ue    0x00 0x00000000607608DC 0x000000001000   0x00    0x00 0x000000000001
          2 0x00044      ue    0x00 0x00000000607608DC 0x000000002000   0x00    0x00 0x000000000002
          3 0x0005C      ue    0x00 0x00000000607608DC 0x000000003000   0x00    0x00 0x000000000003
          4 0x00074      ue    0x00 0x00000000607608DC 0x000000004000   0x00    0x00 0x000000000004
          5 0x0008C      ue    0x00 0x00000000607608DC 0x000000005000   0x00    0x00 0x000000000005
          6 0x000A4      ue    0x00 0x00000000607608DC 0x000000006000   0x00    0x00 0x000000000006
          7 0x000BC      ue    0x00 0x00000000607608DC 0x000000007000   0x00    0x00 0x000000000007
          8 0x000D4      ue    0x00 0x00000000607608DD 0x000000008000   0x00    0x00 0x000000000008
      $_
      
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
      Cc: John Clements <john.clements@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Cc: Xinhui Pan <xinhui.pan@amd.com>
      Signed-off-by: NLuben Tuikov <luben.tuikov@amd.com>
      Acked-by: NAlexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c65b0805
  11. 28 5月, 2021 2 次提交
  12. 20 5月, 2021 1 次提交
  13. 11 5月, 2021 3 次提交
  14. 24 3月, 2021 2 次提交
  15. 27 2月, 2021 1 次提交
  16. 19 2月, 2021 1 次提交
  17. 09 12月, 2020 2 次提交
  18. 30 10月, 2020 3 次提交
  19. 15 8月, 2020 1 次提交
  20. 05 8月, 2020 3 次提交
  21. 16 7月, 2020 1 次提交
  22. 02 4月, 2020 1 次提交
  23. 11 3月, 2020 1 次提交
  24. 19 12月, 2019 1 次提交
  25. 06 12月, 2019 2 次提交
  26. 03 10月, 2019 1 次提交
  27. 17 9月, 2019 1 次提交