• Home
  • Raw
  • Download

Lines Matching refs:device_handle

102 static  amdgpu_device_handle device_handle;  variable
129 &minor_version, &device_handle)) in suite_deadlock_tests_enable()
136 if (device_handle->info.family_id != AMDGPU_FAMILY_VI && in suite_deadlock_tests_enable()
137 device_handle->info.family_id != AMDGPU_FAMILY_AI && in suite_deadlock_tests_enable()
138 device_handle->info.family_id != AMDGPU_FAMILY_CI) { in suite_deadlock_tests_enable()
143 if (device_handle->info.family_id >= AMDGPU_FAMILY_AI) in suite_deadlock_tests_enable()
146 if (amdgpu_device_deinitialize(device_handle)) in suite_deadlock_tests_enable()
157 &minor_version, &device_handle); in suite_deadlock_tests_init()
172 int r = amdgpu_device_deinitialize(device_handle); in suite_deadlock_tests_clean()
236 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_deadlock_helper()
239 r = amdgpu_bo_alloc_and_map_raw(device_handle, 4096, 4096, in amdgpu_deadlock_helper()
245 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL, in amdgpu_deadlock_helper()
326 r = amdgpu_query_hw_ip_info(device_handle, AMDGPU_HW_IP_DMA, 0, &info); in amdgpu_deadlock_sdma()
329 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_deadlock_sdma()
336 r = amdgpu_bo_alloc_and_map_raw(device_handle, 4096, 4096, in amdgpu_deadlock_sdma()
342 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL, in amdgpu_deadlock_sdma()
421 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in bad_access_helper()
424 r = amdgpu_bo_alloc_and_map_raw(device_handle, 4096, 4096, in bad_access_helper()
430 r = amdgpu_get_bo_list(device_handle, ib_result_handle, NULL, in bad_access_helper()
496 amdgpu_dispatch_hang_helper(device_handle, AMDGPU_HW_IP_GFX); in amdgpu_dispatch_hang_gfx()
501 amdgpu_dispatch_hang_helper(device_handle, AMDGPU_HW_IP_COMPUTE); in amdgpu_dispatch_hang_compute()
506 amdgpu_dispatch_hang_slow_helper(device_handle, AMDGPU_HW_IP_GFX); in amdgpu_dispatch_hang_slow_gfx()
511 amdgpu_dispatch_hang_slow_helper(device_handle, AMDGPU_HW_IP_COMPUTE); in amdgpu_dispatch_hang_slow_compute()
520 r = amdgpu_query_hw_ip_info(device_handle, AMDGPU_HW_IP_GFX, 0, &info); in amdgpu_draw_hang_gfx()
526 amdgpu_memcpy_draw_test(device_handle, ring_id, 0); in amdgpu_draw_hang_gfx()
527 amdgpu_memcpy_draw_test(device_handle, ring_id, 1); in amdgpu_draw_hang_gfx()
528 amdgpu_memcpy_draw_test(device_handle, ring_id, 0); in amdgpu_draw_hang_gfx()
538 r = amdgpu_query_hw_ip_info(device_handle, AMDGPU_HW_IP_GFX, 0, &info); in amdgpu_draw_hang_slow_gfx()
542 amdgpu_memcpy_draw_test(device_handle, ring_id, 0); in amdgpu_draw_hang_slow_gfx()
543 amdgpu_memcpy_draw_hang_slow_test(device_handle, ring_id); in amdgpu_draw_hang_slow_gfx()
544 amdgpu_memcpy_draw_test(device_handle, ring_id, 0); in amdgpu_draw_hang_slow_gfx()