Lines Matching refs:ntfy

115 			struct nouveau_abi16_ntfy *ntfy)
117 nvif_object_dtor(&ntfy->object);
118 nvkm_mm_free(&chan->heap, &ntfy->node);
119 list_del(&ntfy->head);
120 kfree(ntfy);
127 struct nouveau_abi16_ntfy *ntfy, *temp;
131 if (chan->chan && chan->ntfy)
135 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) {
136 nouveau_abi16_ntfy_fini(chan, ntfy);
139 if (chan->ntfy) {
141 nouveau_bo_unpin(chan->ntfy);
142 drm_gem_object_put(&chan->ntfy->bo.base);
329 0, 0, &chan->ntfy);
331 ret = nouveau_bo_pin(chan->ntfy, NOUVEAU_GEM_DOMAIN_GART,
337 ret = nouveau_vma_new(chan->ntfy, chan->chan->vmm,
343 ret = drm_gem_handle_create(file_priv, &chan->ntfy->bo.base,
429 struct nouveau_abi16_ntfy *ntfy;
499 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
500 if (!ntfy)
503 list_add(&ntfy->head, &chan->notifiers);
507 oclass, NULL, 0, &ntfy->object);
511 nouveau_abi16_ntfy_fini(chan, ntfy);
522 struct nouveau_abi16_ntfy *ntfy;
540 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
541 if (!ntfy)
544 list_add(&ntfy->head, &chan->notifiers);
547 &ntfy->node);
551 args.start = ntfy->node->offset;
552 args.limit = ntfy->node->offset + ntfy->node->length - 1;
562 args.start += drm->agp.base + chan->ntfy->offset;
563 args.limit += drm->agp.base + chan->ntfy->offset;
567 args.start += chan->ntfy->offset;
568 args.limit += chan->ntfy->offset;
575 &ntfy->object);
581 info->offset = ntfy->node->offset;
584 nouveau_abi16_ntfy_fini(chan, ntfy);
594 struct nouveau_abi16_ntfy *ntfy;
607 list_for_each_entry(ntfy, &chan->notifiers, head) {
608 if (ntfy->object.handle == fini->handle) {
609 nouveau_abi16_ntfy_fini(chan, ntfy);