aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König2015-04-22 07:52:34 -0500
committerAlex Deucher2015-08-05 12:47:49 -0500
commit6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306 (patch)
tree2e46dc9744ab1890a1bca5019dcb5c4df120e95a /amdgpu/amdgpu_internal.h
parent9c2afffedb773da27fd7506b31fc2164f329d3a8 (diff)
downloadexternal-libgbm-6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306.tar.gz
external-libgbm-6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306.tar.xz
external-libgbm-6dc2eaf2cc8428d11498a57bbe72cdf0df4a3306.zip
amdgpu: add public bo list interface v3
v2: cleanup comments and function parameter v3: rebased on internal branch Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index c91452ef..9cb21566 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -88,6 +88,12 @@ struct amdgpu_bo {
88 int cpu_map_count; 88 int cpu_map_count;
89}; 89};
90 90
91struct amdgpu_bo_list {
92 struct amdgpu_device *dev;
93
94 uint32_t handle;
95};
96
91/* 97/*
92 * There are three mutexes. 98 * There are three mutexes.
93 * To avoid deadlock, only hold the mutexes in this order: 99 * To avoid deadlock, only hold the mutexes in this order: