summaryrefslogtreecommitdiff
path: root/include
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-08-05 13:47:49 -0400
commitdb126d1d8a764b9d3ad322779b13904867b14e5c (patch)
treefb09d10986dcb71d1b6eaac867ed387557e26658 /include
parentd9c431dd02da2a8215851c5fa9f07471820d3000 (diff)
downloadlibdrm-db126d1d8a764b9d3ad322779b13904867b14e5c.tar.gz
libdrm-db126d1d8a764b9d3ad322779b13904867b14e5c.tar.bz2
libdrm-db126d1d8a764b9d3ad322779b13904867b14e5c.zip
amdgpu: reuse the kernel IB flags v2
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')
-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