summaryrefslogtreecommitdiff
path: root/amdgpu/amdgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'amdgpu/amdgpu.h')
-rw-r--r--amdgpu/amdgpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index f57a782e..e73d874c 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -840,6 +840,7 @@ int amdgpu_cs_ctx_free(amdgpu_context_handle context);
int amdgpu_cs_query_reset_state(amdgpu_context_handle context,
uint32_t *state, uint32_t *hangs);
+uint32_t amdgpu_cs_get_ctx_id(amdgpu_context_handle context);
/*
* Command Buffers Management
*
@@ -1342,7 +1343,7 @@ int amdgpu_cs_destroy_syncobj(amdgpu_device_handle dev,
struct drm_amdgpu_cs_chunk;
int amdgpu_cs_submit_raw(amdgpu_device_handle dev,
- amdgpu_context_handle *context,
+ uint32_t ctx_id,
uint32_t bo_list_handle,
int num_chunks,
struct drm_amdgpu_cs_chunk *chunks,