1. 25 8月, 2021 2 次提交
  2. 17 8月, 2021 1 次提交
    • Y
      drm/amdkfd: fix random KFDSVMRangeTest.SetGetAttributesTest test failure · 2bbab7ce
      Yifan Zhang 提交于
      KFDSVMRangeTest.SetGetAttributesTest randomly fails in stress test.
      
      Note: Google Test filter = KFDSVMRangeTest.*
      [==========] Running 18 tests from 1 test case.
      [----------] Global test environment set-up.
      [----------] 18 tests from KFDSVMRangeTest
      [ RUN      ] KFDSVMRangeTest.BasicSystemMemTest
      [       OK ] KFDSVMRangeTest.BasicSystemMemTest (30 ms)
      [ RUN      ] KFDSVMRangeTest.SetGetAttributesTest
      [          ] Get default atrributes
      /home/yifan/brahma/libhsakmt/tests/kfdtest/src/KFDSVMRangeTest.cpp:154: Failure
      Value of: expectedDefaultResults[i]
        Actual: 4294967295
      Expected: outputAttributes[i].value
      Which is: 0
      /home/yifan/brahma/libhsakmt/tests/kfdtest/src/KFDSVMRangeTest.cpp:154: Failure
      Value of: expectedDefaultResults[i]
        Actual: 4294967295
      Expected: outputAttributes[i].value
      Which is: 0
      /home/yifan/brahma/libhsakmt/tests/kfdtest/src/KFDSVMRangeTest.cpp:152: Failure
      Value of: expectedDefaultResults[i]
        Actual: 4
      Expected: outputAttributes[i].type
      Which is: 2
      [          ] Setting/Getting atrributes
      [  FAILED  ]
      
      the root cause is that svm work queue has not finished when svm_range_get_attr is called, thus
      some garbage svm interval tree data make svm_range_get_attr get wrong result. Flush work queue before
      iterate svm interval tree.
      Signed-off-by: NYifan Zhang <yifan1.zhang@amd.com>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      2bbab7ce
  3. 12 8月, 2021 1 次提交
  4. 07 8月, 2021 1 次提交
  5. 13 7月, 2021 1 次提交
  6. 09 7月, 2021 1 次提交
  7. 01 7月, 2021 7 次提交
  8. 30 6月, 2021 1 次提交
  9. 16 6月, 2021 2 次提交
  10. 08 6月, 2021 1 次提交
  11. 02 6月, 2021 1 次提交
  12. 20 5月, 2021 7 次提交
  13. 11 5月, 2021 1 次提交
  14. 29 4月, 2021 4 次提交
  15. 24 4月, 2021 3 次提交
  16. 21 4月, 2021 6 次提交