egl/android: bump the number of drmDevices to 64
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 19 Feb 2019 15:30:41 +0000 (15:30 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 26 Feb 2019 11:07:23 +0000 (11:07 +0000)
It's the current maximum supported by the kernel. Stay consistent with
the rest of Mesa and use the same number.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c

index 7e1d61052db26bff52a2b14ba9b55b6d8efdb61f..5b530f2ba73e99b7b943a7c947466da80db3a68b 100644 (file)
@@ -1457,7 +1457,7 @@ droid_probe_device(_EGLDisplay *disp)
 static EGLBoolean
 droid_open_device(_EGLDisplay *disp)
 {
-#define MAX_DRM_DEVICES 32
+#define MAX_DRM_DEVICES 64
    struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
    drmDevicePtr device, devices[MAX_DRM_DEVICES] = { NULL };
    int num_devices;