Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.c672 struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); in nouveau_gem_ioctl_pushbuf() local
686 if (unlikely(!abi16)) in nouveau_gem_ioctl_pushbuf()
689 list_for_each_entry(temp, &abi16->channels, head) { in nouveau_gem_ioctl_pushbuf()
697 return nouveau_abi16_put(abi16, -ENOENT); in nouveau_gem_ioctl_pushbuf()
699 return nouveau_abi16_put(abi16, -ENODEV); in nouveau_gem_ioctl_pushbuf()
711 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
717 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
723 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
728 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf()
733 return nouveau_abi16_put(abi16, PTR_ERR(bo)); in nouveau_gem_ioctl_pushbuf()
[all …]
Dnouveau_drv.h106 void *abi16; member
Dnouveau_drm.c666 if (cli->abi16) in nouveau_drm_device_fini()
667 nouveau_abi16_fini(cli->abi16); in nouveau_drm_device_fini()
1144 if (cli->abi16) in nouveau_drm_postclose()
1145 nouveau_abi16_fini(cli->abi16); in nouveau_drm_postclose()