diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-03-08 02:37:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:36 -0400 |
commit | ed834af243d04637fbb9ca63c8e58677edf266bc (patch) | |
tree | f9b07bdc1384c84e6fdcb5e8ee32c3b6c139aa15 | |
parent | 2e2e3c7f182e26fb518c13ab683aac7918dffb67 (diff) |
uapi/drm:change Preamble Description
Preamble in linux doesn't mean it is CE PREAMBLE IB,
instead it means this IB could be dropped if no
ctx switch happens.
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index c03bae906787..4179241e5e7c 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h | |||
@@ -445,7 +445,7 @@ union drm_amdgpu_cs { | |||
445 | /* This IB should be submitted to CE */ | 445 | /* This IB should be submitted to CE */ |
446 | #define AMDGPU_IB_FLAG_CE (1<<0) | 446 | #define AMDGPU_IB_FLAG_CE (1<<0) |
447 | 447 | ||
448 | /* CE Preamble */ | 448 | /* Preamble flag, which means the IB could be dropped if no context switch */ |
449 | #define AMDGPU_IB_FLAG_PREAMBLE (1<<1) | 449 | #define AMDGPU_IB_FLAG_PREAMBLE (1<<1) |
450 | 450 | ||
451 | struct drm_amdgpu_cs_chunk_ib { | 451 | struct drm_amdgpu_cs_chunk_ib { |