diff options
author | Andres Rodriguez | 2017-06-26 22:12:10 +0200 |
---|---|---|
committer | Alex Deucher | 2017-10-09 22:30:23 +0200 |
commit | f3d19bf80d6c7bfe5922c09604a402ef176da41f (patch) | |
tree | 07f6527df19b67d0c8f5d9990bc1a55e2ba85963 /include/uapi/drm/amdgpu_drm.h | |
parent | drm/amd/sched: allow clients to edit an entity's rq v2 (diff) | |
download | kernel-qcow2-linux-f3d19bf80d6c7bfe5922c09604a402ef176da41f.tar.gz kernel-qcow2-linux-f3d19bf80d6c7bfe5922c09604a402ef176da41f.tar.xz kernel-qcow2-linux-f3d19bf80d6c7bfe5922c09604a402ef176da41f.zip |
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>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 94ef0af492dc..7ea33b57893a 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h @@ -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 |