Home
last modified time | relevance | path

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

/Linux-v5.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.c674 struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); in nouveau_gem_ioctl_pushbuf() local
688 if (unlikely(!abi16)) in nouveau_gem_ioctl_pushbuf()
691 list_for_each_entry(temp, &abi16->channels, head) { in nouveau_gem_ioctl_pushbuf()
699 return nouveau_abi16_put(abi16, -ENOENT); in nouveau_gem_ioctl_pushbuf()
701 return nouveau_abi16_put(abi16, -ENODEV); in nouveau_gem_ioctl_pushbuf()
713 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
719 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
725 return nouveau_abi16_put(abi16, -EINVAL); in nouveau_gem_ioctl_pushbuf()
730 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf()
735 return nouveau_abi16_put(abi16, PTR_ERR(bo)); in nouveau_gem_ioctl_pushbuf()
[all …]
Dnouveau_drv.h106 void *abi16; member
Dnouveau_drm.c1113 if (cli->abi16) in nouveau_drm_postclose()
1114 nouveau_abi16_fini(cli->abi16); in nouveau_drm_postclose()