Searched refs:nvdev (Results 1 – 1 of 1) sorted by relevance
76 struct nouveau_device_priv *nvdev = calloc(1, sizeof(*nvdev)); in nouveau_device_wrap() local77 struct nouveau_device *dev = &nvdev->base; in nouveau_device_wrap()87 if (!nvdev) in nouveau_device_wrap()89 ret = pthread_mutex_init(&nvdev->lock, NULL); in nouveau_device_wrap()91 free(nvdev); in nouveau_device_wrap()95 nvdev->base.fd = fd; in nouveau_device_wrap()122 nvdev->have_bo_usage = (bousage != 0); in nouveau_device_wrap()124 nvdev->close = close; in nouveau_device_wrap()128 nvdev->vram_limit_percent = atoi(tmp); in nouveau_device_wrap()130 nvdev->vram_limit_percent = 80; in nouveau_device_wrap()[all …]