This memory allocation flag will be used to indicate BOs containing sensitive data that should not be leaked to other processes.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -128,6 +128,10 @@ extern "C" { · 127 unmodified lines | ||
| 128 | 128 | * for the second page onward should be set to NC. |
| 129 | 129 | */ |
| 130 | 130 | #define AMDGPU_GEM_CREATE_MQD_GFX9 (1 << 8) |
| 131 | +/* Flag that BO may contain sensitive data that must be wiped before | |
| 132 | + * releasing the memory | |
| 133 | + */ | |
| 134 | +#define AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE (1 << 9) | |
| 131 | 135 | |
| 132 | 136 | struct drm_amdgpu_gem_create_in { |
| 133 | 137 | /** the requested memory size */ |