aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-06-19 11:31:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-06-29 15:52:49 -0400
commit2b48d323b26c37555df3447e11ab9e962eccdc26 (patch)
tree3a4aa8361cf16fbfeb842158702602848f55b0b6 /include/uapi/drm/amdgpu_drm.h
parent03507c4f2f63d8d98c2455cf4d192589fac553c7 (diff)
drm/amdgpu: add optional dependencies to the CS IOCTL v2
v2: remove unrelated whitespace change, fix C comment Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index d3f4832db289..8edf10420361 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -348,6 +348,7 @@ struct drm_amdgpu_gem_va {
348 348
349#define AMDGPU_CHUNK_ID_IB 0x01 349#define AMDGPU_CHUNK_ID_IB 0x01
350#define AMDGPU_CHUNK_ID_FENCE 0x02 350#define AMDGPU_CHUNK_ID_FENCE 0x02
351#define AMDGPU_CHUNK_ID_DEPENDENCIES 0x03
351 352
352struct drm_amdgpu_cs_chunk { 353struct drm_amdgpu_cs_chunk {
353 uint32_t chunk_id; 354 uint32_t chunk_id;
@@ -399,6 +400,14 @@ struct drm_amdgpu_cs_chunk_ib {
399 uint32_t ring; 400 uint32_t ring;
400}; 401};
401 402
403struct drm_amdgpu_cs_chunk_dep {
404 uint32_t ip_type;
405 uint32_t ip_instance;
406 uint32_t ring;
407 uint32_t ctx_id;
408 uint64_t handle;
409};
410
402struct drm_amdgpu_cs_chunk_fence { 411struct drm_amdgpu_cs_chunk_fence {
403 uint32_t handle; 412 uint32_t handle;
404 uint32_t offset; 413 uint32_t offset;