Use _INVALID to identify bad parameters and _UNSET to represent the lack of interest in a specific value.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -169,6 +169,7 @@ union drm_amdgpu_bo_list { · 168 unmodified lines | |||
| 169 | #define AMDGPU_CTX_UNKNOWN_RESET 3 | 169 | #define AMDGPU_CTX_UNKNOWN_RESET 3 |
| 170 | 170 | ||
| 171 | /* Context priority level */ | 171 | /* Context priority level */ |
| 172 | #define AMDGPU_CTX_PRIORITY_UNSET -2048 | ||
| 172 | #define AMDGPU_CTX_PRIORITY_LOW_HW -1023 | 173 | #define AMDGPU_CTX_PRIORITY_LOW_HW -1023 |
| 173 | #define AMDGPU_CTX_PRIORITY_LOW_SW -512 | 174 | #define AMDGPU_CTX_PRIORITY_LOW_SW -512 |
| 174 | #define AMDGPU_CTX_PRIORITY_NORMAL 0 | 175 | #define AMDGPU_CTX_PRIORITY_NORMAL 0 |