/third_party/libdrm/tests/amdgpu/ |
D | amdgpu_test.c | 82 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 …]
|
D | hotunplug_tests.c | 54 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()
|
D | cp_dma_tests.c | 427 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()
|
D | ras_tests.c | 912 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()
|
D | vm_tests.c | 45 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()
|
D | syncobj_tests.c | 47 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()
|
D | security_tests.c | 431 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()
|
D | vcn_tests.c | 106 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()
|
D | cs_tests.c | 67 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()
|
D | deadlock_tests.c | 132 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()
|
D | uvd_enc_tests.c | 92 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()
|
D | jpeg_tests.c | 160 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()
|
D | bo_tests.c | 67 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_bo_tests_init()
|
D | amdgpu_test.h | 36 extern int drm_amdgpu[MAX_CARDS_SUPPORTED];
|
D | vce_tests.c | 102 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()
|
D | basic_tests.c | 761 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/ |
D | meson.build | 25 'drm_amdgpu',
|