brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 45b03d1 Raw
28 lines · plain
1TODO2=====3 4- Add a test case where the only evictable BO is busy5- Update eviction tests so they use parametrized "from" memory type6- Improve mock manager's implementation, e.g. allocate a block of7  dummy memory that can be used when testing page mapping functions8- Suggestion: Add test cases with external BOs9- Suggestion: randomize the number and size of tested buffers in10  ttm_bo_validate()11- Agree on the naming convention12- Rewrite the mock manager: drop use_tt and manage mock memory using13  drm_mm manager14 15Notes and gotchas16=================17 18- These tests are built and run with a UML kernel, because19  1) We are interested in hardware-independent testing20  2) We don't want to have actual DRM devices interacting with TTM21     at the same time as the test one. Getting these to work in22     parallel would require some time (...and that's a "todo" in itself!)23- Triggering ttm_bo_vm_ops callbacks from KUnit (i.e. kernel) might be24  a challenge, but is worth trying. Look at selftests like25  i915/gem/selftests/i915_gem_mman.c for inspiration26- The test suite uses UML where ioremap() call returns NULL, meaning that27  ttm_bo_ioremap() can't be tested, unless we find a way to stub it28