Skip to content

Fix dynamic resolution changes

Nicolas Dufresne requested to merge nicolas/wave5/fix-resoliution-change into wave5-dev

This is still a draft, but this iteration works sometimes. Some more research are needed. The main issue, and the one that took most of the time was that register_frame_buffer does not automatically reallocate, one need to use the strange give_command operation to clear them up. Then, the second issue is that we are getting more then 1 IRQ per PIC_RUN in the context of dynamic resolution. It was also noted that someone completely hardcoded BS_MODE to be PIC_END, while still using the ring buffer as a ring buffer. I tried to move to normal interrupt mode, but the 512 bytes watermark gets in the way, and would require some more design changes.

Fluster score is 125/147 but RAP_B_Bossen_2 (dynamic resolution changes) works most of the time, so close to 126.

Find the latest report here

cc @nas.chung-ext

Edited by Nicolas Dufresne

Merge request reports