Просмотр исходного кода

drm/nouveau: return offset of allocated notifier

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Bob Gleitsmann 12 лет назад
Родитель
Сommit
c1ccaa646c
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      drivers/gpu/drm/nouveau/nouveau_abi16.c

+ 2 - 0
drivers/gpu/drm/nouveau/nouveau_abi16.c

@@ -447,6 +447,8 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
 	if (ret)
 		goto done;
 
+	info->offset = ntfy->node->offset;
+
 done:
 	if (ret)
 		nouveau_abi16_ntfy_fini(chan, ntfy);