diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-05-11 23:49:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:03:31 -0400 |
commit | aa2bdb2476206c7de4473850039daa705230c27b (patch) | |
tree | 27b0f09eb25aaac5e4e8f69fcd6f5304bc0aa6c3 /include/uapi | |
parent | de807f818b953f11b9a132a2d1997711a79bbfa3 (diff) | |
download | linux-stable-aa2bdb2476206c7de4473850039daa705230c27b.tar.gz linux-stable-aa2bdb2476206c7de4473850039daa705230c27b.tar.bz2 linux-stable-aa2bdb2476206c7de4473850039daa705230c27b.zip |
drm/amdgpu: add CE preamble flag v3
The CE preamble IB can be dropped for the same context
v2: use the flags directly
v3: remove 'CE' for potential preamble usage by other rings
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index ca0ea1efa3f4..fb428fe54186 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/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 |