diff options
| author | Thomas Hellström <[email protected]> | 2025-03-05 09:22:14 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2025-03-05 16:08:59 +0000 |
| commit | e7b5d23e5d4705ae93ef6af891b7b7bcccbe1257 (patch) | |
| tree | 214c45bf431f1ae75ba04e58daa30080cb4bc685 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/panthor: Clean up FW version information display (diff) | |
| download | kernel-e7b5d23e5d4705ae93ef6af891b7b7bcccbe1257.tar.gz kernel-e7b5d23e5d4705ae93ef6af891b7b7bcccbe1257.zip | |
drm/ttm: Provide a shmem backup implementation
Provide a standalone shmem backup implementation.
Given the ttm_backup interface, this could
later on be extended to providing other backup
implementation than shmem, with one use-case being
GPU swapout to a user-provided fd.
v5:
- Fix a UAF. (kernel test robot, Dan Carptenter)
v6:
- Rename ttm_backup_shmem_copy_page() function argument
(Matthew Brost)
- Add some missing documentation
v8:
- Use folio_file_page to get to the page we want to writeback
instead of using the first page of the folio.
v13:
- Remove the base class abstraction (Christian König)
- Include ttm_backup_bytes_avail().
v14:
- Fix kerneldoc for ttm_backup_bytes_avail() (0-day)
- Work around casting of __randomize_layout struct pointer (0-day)
v15:
- Return negative error code from ttm_backup_backup_page()
(Christian König)
- Doc fixes. (Christian König).
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
