[PATCH 1/2] nvif: allow userspace to use the notification interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



we need those so that userspace can get notified about channel resets.
Required to implement GL_ARB_robustness correctly. Currently we advertise
it, but we aren't able to handle gpu resets inside mesa without it.

Signed-off-by: Karol Herbst <kherbst@xxxxxxxxxx>
---
 drm/nouveau/nouveau_abi16.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drm/nouveau/nouveau_abi16.c b/drm/nouveau/nouveau_abi16.c
index e67a4713..249b00ae 100644
--- a/drm/nouveau/nouveau_abi16.c
+++ b/drm/nouveau/nouveau_abi16.c
@@ -383,6 +383,10 @@ nouveau_abi16_usif(struct drm_file *file_priv, void *data, u32 size)
 		case NVIF_IOCTL_V0_NEW:
 		case NVIF_IOCTL_V0_MTHD:
 		case NVIF_IOCTL_V0_SCLASS:
+		case NVIF_IOCTL_V0_NTFY_NEW:
+		case NVIF_IOCTL_V0_NTFY_DEL:
+		case NVIF_IOCTL_V0_NTFY_GET:
+		case NVIF_IOCTL_V0_NTFY_PUT:
 			break;
 		default:
 			return -EACCES;
-- 
2.17.1

_______________________________________________
Nouveau mailing list
Nouveau@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/nouveau




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux