summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-01 06:17:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-01 06:17:47 +0000
commit526d3c43310d8ef27ea1aff35a5c333d1396305d (patch)
tree19d21414d0f5182a3c9105b9ad39ea097493e227 /sys
parent6c2a6b8206877f2f701d369d7d41c80e581f12b4 (diff)
add ACCEL_MAX_MINORS for 6.6.53 drm
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/include/drm/drm_accel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/drm/drm_accel.h b/sys/dev/pci/drm/include/drm/drm_accel.h
index 581ede217f6..0d05ed91b68 100644
--- a/sys/dev/pci/drm/include/drm/drm_accel.h
+++ b/sys/dev/pci/drm/include/drm/drm_accel.h
@@ -5,6 +5,8 @@
#include <drm/drm_file.h>
+#define ACCEL_MAX_MINORS 256
+
static inline int
accel_minor_alloc(void)
{