Home
last modified time | relevance | path

Searched refs:drm_count (Results 1 - 2 of 2) sorted by relevance

/third_party/libdrm/tests/amdgpu/
H A Damdgpu_stress.c83 int drm_count; in amdgpu_open_device() local
85 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_open_device()
86 if (drm_count < 0) { in amdgpu_open_device()
88 drm_count); in amdgpu_open_device()
89 return drm_count; in amdgpu_open_device()
92 for (i = 0; i < drm_count; i++) { in amdgpu_open_device()
131 drmFreeDevices(devices, drm_count); in amdgpu_open_device()
H A Damdgpu_test.c321 int drm_count; in amdgpu_open_devices() local
329 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_open_devices()
331 if (drm_count < 0) { in amdgpu_open_devices()
334 drm_count); in amdgpu_open_devices()
338 for (i = 0; i < drm_count; i++) { in amdgpu_open_devices()
385 drmFreeDevices(devices, drm_count); in amdgpu_open_devices()
484 int i, drm_count; in amdgpu_disable_suites() local
496 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_disable_suites()
579 if (drm_count < 2) in amdgpu_disable_suites()

Completed in 2 milliseconds