Lines Matching refs:drm
86 nouveau_abi16_swclass(struct nouveau_drm *drm) in nouveau_abi16_swclass() argument
88 switch (drm->device.info.family) { in nouveau_abi16_swclass()
174 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_abi16_ioctl_getparam() local
175 struct nvif_device *device = &drm->device; in nouveau_abi16_ioctl_getparam()
208 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
211 getparam->value = drm->gem.gart_available; in nouveau_abi16_ioctl_getparam()
247 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_abi16_ioctl_channel_alloc() local
256 if (!drm->channel) in nouveau_abi16_ioctl_channel_alloc()
286 ret = nouveau_channel_new(drm, device, init->fb_ctxdma_handle, in nouveau_abi16_ioctl_channel_alloc()
501 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_abi16_ioctl_notifierobj_alloc() local
541 if (drm->agp.bridge) { in nouveau_abi16_ioctl_notifierobj_alloc()
544 args.start += drm->agp.base + chan->ntfy->bo.offset; in nouveau_abi16_ioctl_notifierobj_alloc()
545 args.limit += drm->agp.base + chan->ntfy->bo.offset; in nouveau_abi16_ioctl_notifierobj_alloc()