Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Damdgpu_test.c67 int drm_amdgpu[MAX_CARDS_SUPPORTED]; variable
332 drm_amdgpu[amd_index] = fd; in amdgpu_open_devices()
346 if (drm_amdgpu[i] >=0) in amdgpu_close_devices()
347 close(drm_amdgpu[i]); in amdgpu_close_devices()
357 if (drm_amdgpu[0] >=0) { in amdgpu_print_devices()
359 drmVersionPtr retval = drmGetVersion(drm_amdgpu[0]); in amdgpu_print_devices()
373 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >=0; i++) in amdgpu_print_devices()
374 if (drmGetDevice2(drm_amdgpu[i], in amdgpu_print_devices()
411 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in amdgpu_find_device()
412 if (drmGetDevice2(drm_amdgpu[i], in amdgpu_find_device()
[all …]
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.c42 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vm_tests_enable()
61 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vm_tests_init()
Dsyncobj_tests.c43 r = drmGetCap(drm_amdgpu[0], DRM_CAP_SYNCOBJ_TIMELINE, &cap); in suite_syncobj_timeline_tests_enable()
54 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()
458 res = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_security_tests_init()
Dcs_tests.c69 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_cs_tests_enable()
97 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_cs_tests_init()
Dvcn_tests.c100 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vcn_tests_enable()
175 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_vcn_tests_init()
Ddeadlock_tests.c129 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_deadlock_tests_enable()
166 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()
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.c622 if (amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_basic_tests_enable()
660 r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, in suite_basic_tests_init()
3849 r = fstat(drm_amdgpu[0], &sbuf); in amdgpu_gpu_reset_test()
/external/libdrm/amdgpu/
Dmeson.build25 'drm_amdgpu',