diff options
| author | Thomas Hellström <[email protected]> | 2025-03-05 09:22:16 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2025-03-05 16:08:59 +0000 |
| commit | 8ae875f641188be338126cc76c76c82d256364dd (patch) | |
| tree | 2c5d06b3ce9c47b7b8aa1c7ba2cf5bede70e6a67 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/ttm/pool, drm/ttm/tt: Provide a helper to shrink pages (diff) | |
| download | kernel-8ae875f641188be338126cc76c76c82d256364dd.tar.gz kernel-8ae875f641188be338126cc76c76c82d256364dd.zip | |
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 <[email protected]>
Cc: Somalapuram Amaranath <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://lore.kernel.org/intel-xe/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
