This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Changing display resolution and timing on the fly on AM3358 SoC

Other Parts Discussed in Thread: AM3358

Our system uses an AM3358 attached to a small LCD panel (480x272 resolution). We also have an HDMI transmitter we can turn on when an HDMI cable is connected to the system (we disable the small LCD in this situation). Our application uses Qt5 for rendering.

System information: Sitara SDK 07.00.00.00, graphics drivers version 05.01.01.01, kernel version 3.12.10-ti2013.12.01, Qt version 5.3.1 (using eglfs for rendering).

Anyway, I'm able to switch between displays, and change the resolution and display timing with the following process:

  1. Terminate our application.
  2. Use fbset to change the resolution/timings.
  3. Unload the PVR graphics modules.
  4. Load the PVR graphics modules.
  5. Relaunch our application.

There are a couple issue with this process that I need to work out, because (ideally) we would like to not terminate the application (which I'm not looking for a solution to at the moment), and not reload the PVR modules (this is what I'm asking about right now). I'm assuming that having to reload the modules implies that the application needs to be terminated (since it's using those drivers).

Is it possible for the graphics modules to pick up the changes to the framebuffer without reloading the modules? If this is possible, I can start working on the application part.