Searched refs:nvdev (Results 1 – 2 of 2) sorted by relevance
/external/libdrm/nouveau/ |
D | nouveau.c | 373 struct nouveau_device_priv *nvdev; in nouveau_device_new() local 383 if (!(nvdev = calloc(1, sizeof(*nvdev)))) in nouveau_device_new() 385 dev = *pdev = &nvdev->base; in nouveau_device_new() 401 nvdev->base.chipset = info.chipset; in nouveau_device_new() 402 nvdev->have_bo_usage = true; in nouveau_device_new() 405 nvdev->base.object.parent = &drm->client; in nouveau_device_new() 406 nvdev->base.object.handle = ~0ULL; in nouveau_device_new() 407 nvdev->base.object.oclass = NOUVEAU_DEVICE_CLASS; in nouveau_device_new() 408 nvdev->base.object.length = ~0; in nouveau_device_new() 413 nvdev->base.chipset = v; in nouveau_device_new() [all …]
|
/external/libdrm/tests/nouveau/ |
D | threaded.c | 59 struct nouveau_device *nvdev = dev; in openclose() local 64 if (!nouveau_bo_prime_handle_ref(nvdev, import_fd, &bo)) in openclose() 75 struct nouveau_device *nvdev, *nvdev2; in main() local 116 err = nouveau_device_wrap(fd, 0, &nvdev); in main() 127 pthread_create(&t1, NULL, openclose, nvdev); in main() 128 pthread_create(&t2, NULL, openclose, nvdev); in main() 138 nouveau_device_del(&nvdev); in main()
|