summaryrefslogtreecommitdiff
path: root/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-07-09 11:48:32 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 13:47:52 -0400
commit5463d2e83a450a0428f6c46561c5e2a54a229589 (patch)
tree91cb136737a4611ca7307e8cde499a6c40021c6b /amdgpu/amdgpu_cs.c
parentf91b56dc8c604ec1c6f092d69550266d20dc9764 (diff)
downloadlibdrm-5463d2e83a450a0428f6c46561c5e2a54a229589.tar.gz
libdrm-5463d2e83a450a0428f6c46561c5e2a54a229589.tar.bz2
libdrm-5463d2e83a450a0428f6c46561c5e2a54a229589.zip
amdgpu: use common fence structure for dependencies as well.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_cs.c')
-rw-r--r--amdgpu/amdgpu_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amdgpu/amdgpu_cs.c b/amdgpu/amdgpu_cs.c
index 03b17819..91a7b059 100644
--- a/amdgpu/amdgpu_cs.c
+++ b/amdgpu/amdgpu_cs.c
@@ -259,7 +259,7 @@ static int amdgpu_cs_submit_one(amdgpu_context_handle context,
}
for (i = 0; i < ibs_request->number_of_dependencies; ++i) {
- struct amdgpu_cs_dep_info *info = &ibs_request->dependencies[i];
+ struct amdgpu_cs_fence *info = &ibs_request->dependencies[i];
struct drm_amdgpu_cs_chunk_dep *dep = &dependencies[i];
dep->ip_type = info->ip_type;
dep->ip_instance = info->ip_instance;
@@ -379,7 +379,7 @@ static int amdgpu_ioctl_wait_cs(amdgpu_context_handle context,
return 0;
}
-int amdgpu_cs_query_fence_status(struct amdgpu_cs_query_fence *fence,
+int amdgpu_cs_query_fence_status(struct amdgpu_cs_fence *fence,
uint64_t timeout_ns,
uint64_t flags,
uint32_t *expired)