aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-25 05:24:03 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commit80f33f4529710f5a24583ab5189d00cc7cb0d62b (patch)
treefe44df37fba593ad8212d58e962f9ad400c500d5 /tests/amdgpu/deadlock_tests.c
parentc6fcd176e8949148ad2e07b0ee970cd1ad287113 (diff)
downloadexternal-libgbm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.tar.gz
external-libgbm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.tar.xz
external-libgbm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.zip
tests/amdgpu: drop unused variables
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests/amdgpu/deadlock_tests.c')
-rw-r--r--tests/amdgpu/deadlock_tests.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c
index aaeea871..96c99c96 100644
--- a/tests/amdgpu/deadlock_tests.c
+++ b/tests/amdgpu/deadlock_tests.c
@@ -110,7 +110,6 @@ CU_BOOL suite_deadlock_tests_enable(void)
110 110
111int suite_deadlock_tests_init(void) 111int suite_deadlock_tests_init(void)
112{ 112{
113 struct amdgpu_gpu_info gpu_info = {0};
114 int r; 113 int r;
115 114
116 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, 115 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version,
@@ -177,7 +176,7 @@ static void amdgpu_deadlock_helper(unsigned ip_type)
177 struct amdgpu_cs_ib_info ib_info; 176 struct amdgpu_cs_ib_info ib_info;
178 struct amdgpu_cs_fence fence_status; 177 struct amdgpu_cs_fence fence_status;
179 uint32_t expired; 178 uint32_t expired;
180 int i, r, instance; 179 int i, r;
181 amdgpu_bo_list_handle bo_list; 180 amdgpu_bo_list_handle bo_list;
182 amdgpu_va_handle va_handle; 181 amdgpu_va_handle va_handle;
183 182