drm/amdgpu: introduce AMDGPU_CTX_PRIORITY_UNSET
Use _INVALID to identify bad parameters and _UNSET to represent the lack of interest in a specific value. Signed-off-by: Andres Rodriguez <andresx7@gmail.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9ebbaabee8
commit
f3d19bf80d
3 changed files with 5 additions and 1 deletions
|
|
@ -169,6 +169,7 @@ union drm_amdgpu_bo_list {
|
|||
#define AMDGPU_CTX_UNKNOWN_RESET 3
|
||||
|
||||
/* Context priority level */
|
||||
#define AMDGPU_CTX_PRIORITY_UNSET -2048
|
||||
#define AMDGPU_CTX_PRIORITY_LOW_HW -1023
|
||||
#define AMDGPU_CTX_PRIORITY_LOW_SW -512
|
||||
#define AMDGPU_CTX_PRIORITY_NORMAL 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue