On Tue, Jul 23, 2019 at 10:13:38AM -0700, Jason Thorpe wrote: > > On Jul 23, 2019, at 10:07 AM, Jason Thorpe <thor...@me.com> wrote: > > > > > > > >> On Jul 23, 2019, at 9:14 AM, Rin Okuyama <rokuyama...@gmail.com> wrote: > >> > >> Ah, you are right. We leaks uninitialized memory via mmap. > >> > >> However, I'm not sure that it is safe to write DMA buffer > >> above sc->sc_vramsize after bus_dmamap_load? > >> > >> Thoughts, ARM experts? > > Also, didn't Jared make a change to the Allwinner u-boot configs that ensure > the frame buffer is page-aligned? Should we make that change everywhere?
I might be mis-quoting Jared, but he said something like: For u-boot, a page is 4K. For us, a page is 8K.