Home
last modified time | relevance | path

Searched refs:drm_amdgpu (Results 1 – 17 of 17) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c82 int drm_amdgpu[MAX_CARDS_SUPPORTED]; variable
326 drm_amdgpu[i] = -1; in amdgpu_open_devices()
381 drm_amdgpu[amd_index] = fd; in amdgpu_open_devices()
395 if (drm_amdgpu[i] >=0) { in amdgpu_close_devices()
396 close(drm_amdgpu[i]); in amdgpu_close_devices()
407 if (drm_amdgpu[0] >=0) { in amdgpu_print_devices()
409 drmVersionPtr retval = drmGetVersion(drm_amdgpu[0]); in amdgpu_print_devices()
423 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >=0; i++) in amdgpu_print_devices()
424 if (drmGetDevice2(drm_amdgpu[i], in amdgpu_print_devices()
461 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in amdgpu_find_device()
[all …]
Dhotunplug_tests.c54 if (drmGetDevice2(drm_amdgpu[0], DRM_DEVICE_GET_PCI_REVISION, &device)) { in suite_hotunplug_tests_enable()
65 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_hotunplug_tests_enable()
121 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in amdgpu_hotunplug_setup_test()
132 tmp_str = amdgpu_get_device_from_fd(drm_amdgpu[0]); in amdgpu_hotunplug_setup_test()
367 r = amdgpu_device_initialize(drm_amdgpu[1], &major2, &minor2, &device2); in amdgpu_hotunplug_with_exported_fence()
Dcp_dma_tests.c427 r = amdgpu_device_initialize(drm_amdgpu[0], in suite_cp_dma_tests_init()
446 r = amdgpu_device_initialize(drm_amdgpu[1], in suite_cp_dma_tests_init()
493 if (amdgpu_device_initialize(drm_amdgpu[0], in suite_cp_dma_tests_enable()
508 if (drm_amdgpu[1] >= 0) { in suite_cp_dma_tests_enable()
509 r = amdgpu_device_initialize(drm_amdgpu[1], in suite_cp_dma_tests_enable()
Dras_tests.c912 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in suite_ras_tests_enable()
913 if (amdgpu_device_initialize(drm_amdgpu[i], &major_version, in suite_ras_tests_enable()
917 if (drmGetDevice2(drm_amdgpu[i], in suite_ras_tests_enable()
947 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in suite_ras_tests_init()
948 r = amdgpu_device_initialize(drm_amdgpu[i], &major_version, in suite_ras_tests_init()
953 if (drmGetDevice2(drm_amdgpu[i], in suite_ras_tests_init()
Dvm_tests.c45 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vm_tests_enable()
64 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vm_tests_init()
Dsyncobj_tests.c47 r = drmGetCap(drm_amdgpu[0], DRM_CAP_SYNCOBJ_TIMELINE, &cap); in suite_syncobj_timeline_tests_enable()
58 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_syncobj_timeline_tests_init()
Dsecurity_tests.c431 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_security_tests_enable()
459 res = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_security_tests_init()
Dvcn_tests.c106 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vcn_tests_enable()
151 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vcn_tests_init()
Dcs_tests.c67 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_cs_tests_enable()
96 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_cs_tests_init()
Ddeadlock_tests.c132 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_deadlock_tests_enable()
174 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_deadlock_tests_init()
Duvd_enc_tests.c92 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_uvd_enc_tests_enable()
112 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_uvd_enc_tests_init()
Djpeg_tests.c160 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, &minor_version, in suite_jpeg_tests_enable()
196 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, &minor_version, in suite_jpeg_tests_init()
Dbo_tests.c67 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_bo_tests_init()
Damdgpu_test.h36 extern int drm_amdgpu[MAX_CARDS_SUPPORTED];
Dvce_tests.c102 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vce_tests_enable()
147 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vce_tests_init()
Dbasic_tests.c761 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_basic_tests_enable()
802 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_basic_tests_init()
4279 r = fstat(drm_amdgpu[0], &sbuf); in amdgpu_gpu_reset_test()
/third_party/libdrm/amdgpu/
Dmeson.build25 'drm_amdgpu',