Lines Matching refs:ntfy

116 			struct nouveau_abi16_ntfy *ntfy)
118 nvif_object_dtor(&ntfy->object);
119 nvkm_mm_free(&chan->heap, &ntfy->node);
120 list_del(&ntfy->head);
121 kfree(ntfy);
128 struct nouveau_abi16_ntfy *ntfy, *temp;
146 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) {
147 nouveau_abi16_ntfy_fini(chan, ntfy);
150 if (chan->ntfy) {
152 nouveau_bo_unpin(chan->ntfy);
153 drm_gem_object_put(&chan->ntfy->bo.base);
398 0, 0, &chan->ntfy);
400 ret = nouveau_bo_pin(chan->ntfy, NOUVEAU_GEM_DOMAIN_GART,
406 ret = nouveau_vma_new(chan->ntfy, chan->chan->vmm,
412 ret = drm_gem_handle_create(file_priv, &chan->ntfy->bo.base,
498 struct nouveau_abi16_ntfy *ntfy;
568 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
569 if (!ntfy)
572 list_add(&ntfy->head, &chan->notifiers);
576 oclass, NULL, 0, &ntfy->object);
580 nouveau_abi16_ntfy_fini(chan, ntfy);
591 struct nouveau_abi16_ntfy *ntfy;
609 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
610 if (!ntfy)
613 list_add(&ntfy->head, &chan->notifiers);
616 &ntfy->node);
620 args.start = ntfy->node->offset;
621 args.limit = ntfy->node->offset + ntfy->node->length - 1;
631 args.start += drm->agp.base + chan->ntfy->offset;
632 args.limit += drm->agp.base + chan->ntfy->offset;
636 args.start += chan->ntfy->offset;
637 args.limit += chan->ntfy->offset;
643 &ntfy->object);
648 info->offset = ntfy->node->offset;
651 nouveau_abi16_ntfy_fini(chan, ntfy);
661 struct nouveau_abi16_ntfy *ntfy;
674 list_for_each_entry(ntfy, &chan->notifiers, head) {
675 if (ntfy->object.handle == fini->handle) {
676 nouveau_abi16_ntfy_fini(chan, ntfy);