Home
last modified time | relevance | path

Searched refs:nvdev (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/nouveau/
Dnouveau.c377 struct nouveau_device_priv *nvdev; in nouveau_device_new() local
387 if (!(nvdev = calloc(1, sizeof(*nvdev)))) in nouveau_device_new()
389 dev = *pdev = &nvdev->base; in nouveau_device_new()
405 nvdev->base.chipset = info.chipset; in nouveau_device_new()
406 nvdev->have_bo_usage = true; in nouveau_device_new()
409 nvdev->base.object.parent = &drm->client; in nouveau_device_new()
410 nvdev->base.object.handle = ~0ULL; in nouveau_device_new()
411 nvdev->base.object.oclass = NOUVEAU_DEVICE_CLASS; in nouveau_device_new()
412 nvdev->base.object.length = ~0; in nouveau_device_new()
417 nvdev->base.chipset = v; in nouveau_device_new()
[all …]
/external/libdrm/tests/nouveau/
Dthreaded.c63 struct nouveau_device *nvdev = dev; in openclose() local
68 if (!nouveau_bo_prime_handle_ref(nvdev, import_fd, &bo)) in openclose()
79 struct nouveau_device *nvdev, *nvdev2; in main() local
120 err = nouveau_device_wrap(fd, 0, &nvdev); in main()
131 pthread_create(&t1, NULL, openclose, nvdev); in main()
132 pthread_create(&t2, NULL, openclose, nvdev); in main()
142 nouveau_device_del(&nvdev); in main()