diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-05 12:22:16 +0300 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-05 19:08:59 +0300 |
commit | 8ae875f641188be338126cc76c76c82d256364dd (patch) | |
tree | 2c5d06b3ce9c47b7b8aa1c7ba2cf5bede70e6a67 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b63d715b8090aed48bdef5930625946fa4c0d324 (diff) | |
download | linux-8ae875f641188be338126cc76c76c82d256364dd.tar.xz |
drm/ttm: Use fault-injection to test error paths
Use fault-injection to test partial TTM swapout and interrupted swapin.
Return -EINTR for swapin to test the callers ability to handle and
restart the swapin, and on swapout perform a partial swapout to test that
the swapin and release_shrunken functionality.
v8:
- Use the core fault-injection system.
v9:
- Fix compliation failure for !CONFIG_FAULT_INJECTION
Cc: Christian König <christian.koenig@amd.com>
Cc: Somalapuram Amaranath <Amaranath.Somalapuram@amd.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/intel-xe/20250305092220.123405-4-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions