add ACCEL_MAX_MINORS for 6.6.53 drm
authorjsg <jsg@openbsd.org>
Tue, 1 Oct 2024 06:17:46 +0000 (06:17 +0000)
committerjsg <jsg@openbsd.org>
Tue, 1 Oct 2024 06:17:46 +0000 (06:17 +0000)
sys/dev/pci/drm/include/drm/drm_accel.h

index 581ede2..0d05ed9 100644 (file)
@@ -5,6 +5,8 @@
 
 #include <drm/drm_file.h>
 
+#define ACCEL_MAX_MINORS       256
+
 static inline int
 accel_minor_alloc(void)
 {