Home
last modified time | relevance | path

Searched refs:MAX_CARDS_SUPPORTED (Results 1 – 4 of 4) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c82 int drm_amdgpu[MAX_CARDS_SUPPORTED];
317 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_open_devices()
325 for (i = 0; i < MAX_CARDS_SUPPORTED; i++) { in amdgpu_open_devices()
329 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_open_devices()
394 for (i = 0; i < MAX_CARDS_SUPPORTED; i++) in amdgpu_close_devices()
423 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >=0; i++) in amdgpu_print_devices()
461 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in amdgpu_find_device()
483 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_disable_suites()
496 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_disable_suites()
675 for (i = 0; i < MAX_CARDS_SUPPORTED; i++) in main()
Damdgpu_stress.c41 #define MAX_CARDS_SUPPORTED 4 macro
81 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_open_device()
85 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_open_device()
Damdgpu_test.h33 #define MAX_CARDS_SUPPORTED 128 macro
36 extern int drm_amdgpu[MAX_CARDS_SUPPORTED];
Dras_tests.c374 static struct amdgpu_ras_data devices[MAX_CARDS_SUPPORTED];
510 for (i = 0; i < MAX_CARDS_SUPPORTED; i++) { in amdgpu_ras_lookup_id()
912 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in suite_ras_tests_enable()
947 for (i = 0; i < MAX_CARDS_SUPPORTED && drm_amdgpu[i] >= 0; i++) { in suite_ras_tests_init()