diff --git a/firmware/litex-fw/src/main.rs b/firmware/litex-fw/src/main.rs index 00ac29f..6025876 100644 --- a/firmware/litex-fw/src/main.rs +++ b/firmware/litex-fw/src/main.rs @@ -407,13 +407,13 @@ fn main() -> ! { let fb = disp.swap_clear(); unsafe { + fence(); while peripherals.SPI_DMA.done.read().bits() == 0 { // Don't start to DMA a new framebuffer if we're still // pushing through the last one. } peripherals.SPI_DMA.read_base.write(|w| w.bits(fb.as_ptr() as u32)); peripherals.SPI_DMA.read_length.write(|w| w.bits(fb.len() as u32)); - fence(); peripherals.SPI_DMA.start.write(|w| w.start().bit(true)); peripherals.SPI_DMA.start.write(|w| w.start().bit(false)); } diff --git a/firmware/ssd1322 b/firmware/ssd1322 index 8ff05f6..d611f97 160000 --- a/firmware/ssd1322 +++ b/firmware/ssd1322 @@ -1 +1 @@ -Subproject commit 8ff05f65ceb9bec498f6915534bfdf9e1245c058 +Subproject commit d611f97974af000273a69541a4baa0482dd43dfa