This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple displays with mali-fbdev

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?

Parents
  • Don't need to change the EGLDispaly. On Mali the EGLDisplay ~= which GPU to use, where there's almost always only one.

    Instead, try calling eglCreateWindowSurface with the index of the /dev/fbX framebuffer device as the native window parameter.. So /dev/fb1 would be eglCreateWindowSurface(my_egl_display, my_egl_config, 1, my_attrib_list).

Reply
  • Don't need to change the EGLDispaly. On Mali the EGLDisplay ~= which GPU to use, where there's almost always only one.

    Instead, try calling eglCreateWindowSurface with the index of the /dev/fbX framebuffer device as the native window parameter.. So /dev/fb1 would be eglCreateWindowSurface(my_egl_display, my_egl_config, 1, my_attrib_list).

Children