aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2017-03-08 02:37:00 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:55:36 -0400
commited834af243d04637fbb9ca63c8e58677edf266bc (patch)
treef9b07bdc1384c84e6fdcb5e8ee32c3b6c139aa15
parent2e2e3c7f182e26fb518c13ab683aac7918dffb67 (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.h2
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
451struct drm_amdgpu_cs_chunk_ib { 451struct drm_amdgpu_cs_chunk_ib {