Home
last modified time | relevance | path

Searched refs:abi16 (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c44 if (!cli->abi16) { in nouveau_abi16()
45 struct nouveau_abi16 *abi16; in nouveau_abi16() local
46 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16()
47 if (cli->abi16) { in nouveau_abi16()
52 INIT_LIST_HEAD(&abi16->channels); in nouveau_abi16()
60 &abi16->device) == 0) in nouveau_abi16()
61 return cli->abi16; in nouveau_abi16()
63 kfree(cli->abi16); in nouveau_abi16()
64 cli->abi16 = NULL; in nouveau_abi16()
67 return cli->abi16; in nouveau_abi16()
[all …]
Dnouveau_gem.c722 struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); in nouveau_gem_ioctl_pushbuf() local
736 if (unlikely(!abi16)) in nouveau_gem_ioctl_pushbuf()
739 list_for_each_entry(temp, &abi16->channels, head) { in nouveau_gem_ioctl_pushbuf()
747 return nouveau_abi16_put(abi16, -ENOENT); in nouveau_gem_ioctl_pushbuf()
749 return nouveau_abi16_put(abi16, -ENODEV); in nouveau_gem_ioctl_pushbuf()
761 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
767 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
773 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
778 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf()
783 return nouveau_abi16_put(abi16, PTR_ERR(bo)); in nouveau_gem_ioctl_pushbuf()
[all …]
Dnouveau_usif.c332 bool abi16 = false; in usif_ioctl() local
364 abi16 = true; in usif_ioctl()
369 ret = usif_object_new(filp, data, size, argv, argc, abi16); in usif_ioctl()
Dnouveau_drm.c671 if (cli->abi16) in nouveau_drm_device_fini()
672 nouveau_abi16_fini(cli->abi16); in nouveau_drm_device_fini()
1148 if (cli->abi16) in nouveau_drm_postclose()
1149 nouveau_abi16_fini(cli->abi16); in nouveau_drm_postclose()
Dnouveau_drv.h103 void *abi16; member