Searched refs:drm_count (Results 1 – 1 of 1) sorted by relevance
137 int drm_count; in amdgpu_open_devices() local141 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); in amdgpu_open_devices()143 if (drm_count < 0) { in amdgpu_open_devices()146 drm_count); in amdgpu_open_devices()150 for (i = 0; i < drm_count; i++) { in amdgpu_open_devices()197 drmFreeDevices(devices, drm_count); in amdgpu_open_devices()