Add a new operation to replace mappings in a VM with a new one. v2: Fix Jerry's comment, separate out clear operation.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -351,6 +351,7 @@ struct drm_amdgpu_gem_op { · 350 unmodified lines | |||
| 351 | #define AMDGPU_VA_OP_MAP 1 | 351 | #define AMDGPU_VA_OP_MAP 1 |
| 352 | #define AMDGPU_VA_OP_UNMAP 2 | 352 | #define AMDGPU_VA_OP_UNMAP 2 |
| 353 | #define AMDGPU_VA_OP_CLEAR 3 | 353 | #define AMDGPU_VA_OP_CLEAR 3 |
| 354 | #define AMDGPU_VA_OP_REPLACE 4 | ||
| 354 | 355 | ||
| 355 | /* Delay the page table update till the next CS */ | 356 | /* Delay the page table update till the next CS */ |
| 356 | #define AMDGPU_VM_DELAY_UPDATE (1 << 0) | 357 | #define AMDGPU_VM_DELAY_UPDATE (1 << 0) |