summaryrefslogtreecommitdiff
path: root/include/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-05-11 23:02:09 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-05-12 16:17:37 -0400
commitf7c157caada4cf12bb884412e60ef013f690eb3e (patch)
tree74e676bd3edd0d1e599285cd0c464da132701a97 /include/drm/amdgpu_drm.h
parent0aacadf16d40be396bd7de24d485e1bb59a89ba6 (diff)
downloaddrm-amdgpu.tar.gz
amdgpu: reuse the kernel IB flags v2amdgpu
v2: remove 'CE' from the preamble flag Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/drm/amdgpu_drm.h')
-rw-r--r--include/drm/amdgpu_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index 0acaccc2..a27f8eb7 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -369,6 +369,9 @@ union drm_amdgpu_cs {
/* GDS is used by this IB */
#define AMDGPU_IB_FLAG_GDS (1<<1)
+/* CE Preamble */
+#define AMDGPU_IB_FLAG_PREAMBLE (1<<2)
+
struct drm_amdgpu_cs_chunk_ib {
/**
* Handle of GEM object to be used as IB or 0 if it is already in