I'm using the Mali-T76x fbdev drivers for Firefly and want to use /dev/fb1 as a second display. Is it possible to call eglGetDisplay() with an argument other than EGL_DEFAULT_DISPLAY in order to use a different framebuffer device?
No, it's been in there since the first Midgard-based GPU, T604.. So thanks, I designed that particular feature into the driver ~5 years ago... glad to see it a) works and b) is genuinely useful to someone. :-)
Passing a pointer to the fbdev_window struct is the only way to get non-fullscreen rendering. Whereas if you just want to render to the whole framebuffer, you only need to pass in the integer value of the fbdev you want to render to. Originally, support for passing a pointer to an fbdev_window was added for backwards compatability with Mali-400 drivers, though I suspect the fbdev_window structs might have diverged since then (though not in binary incompatible ways).