raiden00pl opened a new pull request, #22313:
URL: https://github.com/apache/nuttx/pull/22313

     ## Summary
     
     Unify the STM32 DMA2D drivers and add DMA2D support for the STM32N6.
     
     - arch/arm/stm32: Move the STM32F7 DMA2D driver to common.  The F7
       driver was a copy of the common one.  F4 and F7 now use the common
       driver, renamed to stm32_dma2d_v1 and selected with
       STM32_HAVE_IP_DMA2D_V1.  STM32L4 has no DMA2D driver and no longer
       selects it.
     - arch/arm/stm32: Fix the DMA2D AMTCR dead time field shift.  The DT
       field is bits 8-15 but its shift was 0, which overlaps the EN bit.
     - arch/arm/stm32: Maintain the data cache around DMA2D transfers.  The
       DMA2D does not snoop the CPU data cache: clean the source areas and
       the CLUT, flush the output area before and invalidate it after a
       transfer.
     - arch/arm/stm32n6: Add DMA2D support.  The common driver with its
       layers as LTDC framebuffer overlays, the AHB5 clock and Secure,
       privileged RIF attributes.
       
     ## Impact
     
     STM32F7 uses the common DMA2D driver and gets the data cache
     maintenance.  STM32_DMA2D selects FB and FB_OVERLAY on every chip with
     the driver (STM32F469 too).  STM32N6 gets DMA2D, enabled with
     CONFIG_STM32_DMA2D.
     
     ## Testing
     
     fb configuration with CONFIG_STM32_DMA2D and the fboverlay example;
     fill, blit to the LCD layer and blend checked in the framebuffer memory:
     - STM32N6570-DK
     - STM32F429I-DISCO
     - STM32F746G-DISCO (D-cache enabled)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to