Home
last modified time | relevance | path

Searched refs:amdgpu_device_handle (Results 1 – 25 of 30) sorted by relevance

12

/third_party/libdrm/amdgpu/
Damdgpu.h117 typedef struct amdgpu_device *amdgpu_device_handle; typedef
528 amdgpu_device_handle *device_handle);
547 int amdgpu_device_deinitialize(amdgpu_device_handle device_handle);
560 int amdgpu_device_get_fd(amdgpu_device_handle device_handle);
581 int amdgpu_bo_alloc(amdgpu_device_handle dev,
654 int amdgpu_bo_import(amdgpu_device_handle dev,
690 int amdgpu_create_bo_from_user_mem(amdgpu_device_handle dev,
711 int amdgpu_find_bo_by_cpu_mapping(amdgpu_device_handle dev,
805 int amdgpu_bo_list_create_raw(amdgpu_device_handle dev,
820 int amdgpu_bo_list_destroy_raw(amdgpu_device_handle dev, uint32_t bo_list);
[all …]
Damdgpu_cs.c51 drm_public int amdgpu_cs_ctx_create2(amdgpu_device_handle dev, in amdgpu_cs_ctx_create2()
97 drm_public int amdgpu_cs_ctx_create(amdgpu_device_handle dev, in amdgpu_cs_ctx_create()
145 drm_public int amdgpu_cs_ctx_override_priority(amdgpu_device_handle dev, in amdgpu_cs_ctx_override_priority()
249 amdgpu_device_handle dev = context->dev; in amdgpu_cs_submit_one()
443 amdgpu_device_handle dev = context->dev; in amdgpu_ioctl_wait_cs()
506 amdgpu_device_handle dev = fences[0].context->dev; in amdgpu_ioctl_wait_fences()
660 drm_public int amdgpu_cs_create_syncobj2(amdgpu_device_handle dev, in amdgpu_cs_create_syncobj2()
670 drm_public int amdgpu_cs_create_syncobj(amdgpu_device_handle dev, in amdgpu_cs_create_syncobj()
679 drm_public int amdgpu_cs_destroy_syncobj(amdgpu_device_handle dev, in amdgpu_cs_destroy_syncobj()
688 drm_public int amdgpu_cs_syncobj_reset(amdgpu_device_handle dev, in amdgpu_cs_syncobj_reset()
[all …]
Damdgpu_gpu_info.c33 drm_public int amdgpu_query_info(amdgpu_device_handle dev, unsigned info_id, in amdgpu_query_info()
47 drm_public int amdgpu_query_crtc_from_id(amdgpu_device_handle dev, unsigned id, in amdgpu_query_crtc_from_id()
62 drm_public int amdgpu_read_mm_registers(amdgpu_device_handle dev, in amdgpu_read_mm_registers()
81 drm_public int amdgpu_query_hw_ip_count(amdgpu_device_handle dev, in amdgpu_query_hw_ip_count()
97 drm_public int amdgpu_query_hw_ip_info(amdgpu_device_handle dev, unsigned type, in amdgpu_query_hw_ip_info()
114 drm_public int amdgpu_query_firmware_version(amdgpu_device_handle dev, in amdgpu_query_firmware_version()
140 drm_private int amdgpu_query_gpu_info_init(amdgpu_device_handle dev) in amdgpu_query_gpu_info_init()
231 drm_public int amdgpu_query_gpu_info(amdgpu_device_handle dev, in amdgpu_query_gpu_info()
243 drm_public int amdgpu_query_heap_info(amdgpu_device_handle dev, in amdgpu_query_heap_info()
295 drm_public int amdgpu_query_gds_info(amdgpu_device_handle dev, in amdgpu_query_gds_info()
[all …]
Damdgpu_device.c47 static amdgpu_device_handle dev_list;
96 static void amdgpu_device_free_internal(amdgpu_device_handle dev) in amdgpu_device_free_internal()
98 amdgpu_device_handle *node = &dev_list; in amdgpu_device_free_internal()
146 amdgpu_device_handle *device_handle) in amdgpu_device_initialize()
282 drm_public int amdgpu_device_deinitialize(amdgpu_device_handle dev) in amdgpu_device_deinitialize()
288 drm_public int amdgpu_device_get_fd(amdgpu_device_handle device_handle) in amdgpu_device_get_fd()
293 drm_public const char *amdgpu_get_marketing_name(amdgpu_device_handle dev) in amdgpu_get_marketing_name()
298 drm_public int amdgpu_query_sw_info(amdgpu_device_handle dev, in amdgpu_query_sw_info()
Damdgpu_bo.c42 static int amdgpu_bo_create(amdgpu_device_handle dev, in amdgpu_bo_create()
70 drm_public int amdgpu_bo_alloc(amdgpu_device_handle dev, in amdgpu_bo_alloc()
248 drm_public int amdgpu_bo_import(amdgpu_device_handle dev, in amdgpu_bo_import()
499 drm_public int amdgpu_query_buffer_size_alignment(amdgpu_device_handle dev, in amdgpu_query_buffer_size_alignment()
530 drm_public int amdgpu_find_bo_by_cpu_mapping(amdgpu_device_handle dev, in amdgpu_find_bo_by_cpu_mapping()
572 drm_public int amdgpu_create_bo_from_user_mem(amdgpu_device_handle dev, in amdgpu_create_bo_from_user_mem()
600 drm_public int amdgpu_bo_list_create_raw(amdgpu_device_handle dev, in amdgpu_bo_list_create_raw()
621 drm_public int amdgpu_bo_list_destroy_raw(amdgpu_device_handle dev, in amdgpu_bo_list_destroy_raw()
634 drm_public int amdgpu_bo_list_create(amdgpu_device_handle dev, in amdgpu_bo_list_create()
755 amdgpu_device_handle dev = bo->dev; in amdgpu_bo_va_op()
[all …]
Damdgpu_vm.c29 drm_public int amdgpu_vm_reserve_vmid(amdgpu_device_handle dev, uint32_t flags) in amdgpu_vm_reserve_vmid()
40 drm_public int amdgpu_vm_unreserve_vmid(amdgpu_device_handle dev, in amdgpu_vm_unreserve_vmid()
Damdgpu_internal.h60 amdgpu_device_handle dev;
146 drm_private int amdgpu_query_gpu_info_init(amdgpu_device_handle dev);
Damdgpu_vamgr.c32 drm_public int amdgpu_va_range_query(amdgpu_device_handle dev, in amdgpu_va_range_query()
223 drm_public int amdgpu_va_range_alloc(amdgpu_device_handle dev, in amdgpu_va_range_alloc()
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.h285 void amdgpu_dispatch_hang_helper(amdgpu_device_handle device_handle, uint32_t ip_type);
286 void amdgpu_dispatch_hang_slow_helper(amdgpu_device_handle device_handle, uint32_t ip_type);
287 void amdgpu_memcpy_draw_test(amdgpu_device_handle device_handle, uint32_t ring,
289 void amdgpu_memcpy_draw_hang_slow_test(amdgpu_device_handle device_handle, uint32_t ring, int versi…
312 amdgpu_command_submission_write_linear_helper_with_secure(amdgpu_device_handle
344 amdgpu_device_handle device_handle, in gpu_mem_alloc()
425 amdgpu_bo_alloc_wrap(amdgpu_device_handle dev, unsigned size, in amdgpu_bo_alloc_wrap()
447 int amdgpu_bo_alloc_and_map_raw(amdgpu_device_handle dev, unsigned size,
454 amdgpu_bo_alloc_and_map(amdgpu_device_handle dev, unsigned size, in amdgpu_bo_alloc_and_map()
477 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
[all …]
Dcp_dma_tests.c43 static amdgpu_device_handle executing_device_handle;
47 static amdgpu_device_handle peer_exporting_device_handle;
89 static int allocate_bo_and_va(amdgpu_device_handle dev, in allocate_bo_and_va()
142 static int import_dma_buf_to_bo(amdgpu_device_handle dev, in import_dma_buf_to_bo()
Dras_tests.c367 amdgpu_device_handle device_handle;
481 static uint32_t amdgpu_ras_lookup_capability(amdgpu_device_handle device_handle) in amdgpu_ras_lookup_capability()
534 static amdgpu_device_handle device_handle;
906 amdgpu_device_handle device_handle; in suite_ras_tests_enable()
938 amdgpu_device_handle device_handle; in suite_ras_tests_init()
Dhotunplug_tests.c43 static amdgpu_device_handle device_handle;
357 amdgpu_device_handle device2; in amdgpu_hotunplug_with_exported_fence()
Dbasic_tests.c45 static amdgpu_device_handle device_handle;
698 int amdgpu_bo_alloc_and_map_raw(amdgpu_device_handle dev, unsigned size, in amdgpu_bo_alloc_and_map_raw()
1452 amdgpu_test_exec_cs_helper_raw(amdgpu_device_handle device_handle, in amdgpu_test_exec_cs_helper_raw()
1549 amdgpu_command_submission_write_linear_helper_with_secure(amdgpu_device_handle in amdgpu_command_submission_write_linear_helper_with_secure()
2635 static void amdgpu_memset_dispatch_test(amdgpu_device_handle device_handle, in amdgpu_memset_dispatch_test()
2781 static void amdgpu_memcpy_dispatch_test(amdgpu_device_handle device_handle, in amdgpu_memcpy_dispatch_test()
2997 void amdgpu_dispatch_hang_helper(amdgpu_device_handle device_handle, uint32_t ip_type) in amdgpu_dispatch_hang_helper()
3021 static void amdgpu_memcpy_dispatch_hang_slow_test(amdgpu_device_handle device_handle, in amdgpu_memcpy_dispatch_hang_slow_test()
3178 void amdgpu_dispatch_hang_slow_helper(amdgpu_device_handle device_handle, uint32_t ip_type) in amdgpu_dispatch_hang_slow_helper()
3719 void amdgpu_memset_draw(amdgpu_device_handle device_handle, in amdgpu_memset_draw()
[all …]
Dbo_tests.c35 static amdgpu_device_handle device_handle;
Dvm_tests.c30 static amdgpu_device_handle device_handle;
Dsyncobj_tests.c32 static amdgpu_device_handle device_handle;
Dsecurity_tests.c40 static amdgpu_device_handle device_handle;
Damdgpu_stress.c138 amdgpu_device_handle device_handle;
Dvcn_tests.c55 static amdgpu_device_handle device_handle;
Dcs_tests.c38 static amdgpu_device_handle device_handle;
Ddeadlock_tests.c102 static amdgpu_device_handle device_handle;
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c203 typedef struct amdgpu_device *amdgpu_device_handle; typedef
256 static int amdgpu_bo_alloc(amdgpu_device_handle dev, in amdgpu_bo_alloc()
266 static int amdgpu_query_buffer_size_alignment(amdgpu_device_handle dev, in amdgpu_query_buffer_size_alignment()
272 static int amdgpu_query_firmware_version(amdgpu_device_handle dev, unsigned fw_type, in amdgpu_query_firmware_version()
278 static int amdgpu_query_hw_ip_info(amdgpu_device_handle dev, unsigned type, in amdgpu_query_hw_ip_info()
284 static int amdgpu_query_heap_info(amdgpu_device_handle dev, uint32_t heap, in amdgpu_query_heap_info()
289 static int amdgpu_query_gpu_info(amdgpu_device_handle dev, in amdgpu_query_gpu_info()
294 static int amdgpu_query_info(amdgpu_device_handle dev, unsigned info_id, in amdgpu_query_info()
299 static int amdgpu_query_sw_info(amdgpu_device_handle dev, enum amdgpu_sw_info info, in amdgpu_query_sw_info()
304 static int amdgpu_query_gds_info(amdgpu_device_handle dev, in amdgpu_query_gds_info()
[all …]
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.h43 amdgpu_device_handle dev;
Dradv_amdgpu_winsys.c136 amdgpu_device_handle dev = ((struct radv_amdgpu_winsys *)rws)->dev; in radv_amdgpu_winsys_get_chip_name()
197 amdgpu_device_handle dev; in radv_amdgpu_winsys_create()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h68 amdgpu_device_handle dev;

12