On Sun, 29 Nov 2026 12:49:11 +0000, [email protected] wrote: [...] > > + irq_bit = saturn_hee_get_irq_bit(INT_CFG_RDY); > > + if (irq_raw & irq_bit) { > > + saturn_hee_clr_int_sts(a_crtc, irq_bit); > > + timer_delete(&a_crtc->cfg_rdy_timer); > > + a_crtc->ur_reported = false; > > + saturn_hee_enable_irq(a_crtc, INT_CFG_RDY, false); > > + handled |= irq_bit; > > + > > + /* The lists are taken: the next vblank completes the commit. */
Will fix this comment in v5. CFG_RDY and VSYNC normally come in the same interrupt, so the event is sent in this pass, not at the next vblank. [...] > [Severity: High] > Can spacemit_dpu_online_isr() complete a_crtc->event one frame early and > dispatch masked interrupts? Not a bug: the status register shows only unmasked sources, and the frame that starts at that vsync already shows the new buffer (both checked on the board). [...] > [Severity: Medium] > Can an in-flight spacemit_cfg_rdy_timer_handler() or a late INT_CFG_RDY > from a timed-out commit race with spacemit_dpu_run()? Will fix in v5. [...] > [Severity: Medium] > Does saturn_hee_cfg_ready() immediately fire on a stale underrun bit and > race on a_crtc->ur_mask_armed? Will fix in v5. Cody
