bus_dma(9) BUS_DMA_COHERENT is a hint (or not)

2011-08-24 Thread Frank Zerangue
bus_dma(9) specifies that for bus_dmamem_map() the flag BUS_DMA_COHERENT is a hint; and that a device driver must not rely on this flag for correct operation. All calls to bus_dmamap_sync() must still be made. But for frame buffers this seems impractical to me and it appears in practice, that

Re: bus_dma(9) BUS_DMA_COHERENT is a hint (or not)

2011-08-24 Thread Eduardo Horvath
On Wed, 24 Aug 2011, Frank Zerangue wrote: bus_dma(9) specifies that for bus_dmamem_map() the flag BUS_DMA_COHERENT is a hint; and that a device driver must not rely on this flag for correct operation. All calls to bus_dmamap_sync() must still be made. But for frame buffers this seems

Re: bus_dma(9) BUS_DMA_COHERENT is a hint (or not)

2011-08-24 Thread Michael
Hello, On Wed, 24 Aug 2011 16:17:58 -0500 Frank Zerangue frank.zeran...@gmail.com wrote: bus_dma(9) specifies that for bus_dmamem_map() the flag BUS_DMA_COHERENT is a hint; and that a device driver must not rely on this flag for correct operation. All calls to bus_dmamap_sync() must still

Re: bus_dma(9) BUS_DMA_COHERENT is a hint (or not)

2011-08-24 Thread Frank Zerangue
My frame buffer will be specific to my hardware and need not be portable. I wanted to make sure I was not missing something. Thank you Eduardo and Michael. On Aug 24, 2011, at 5:45 PM, Michael wrote: Hello, On Wed, 24 Aug 2011 16:17:58 -0500 Frank Zerangue frank.zeran...@gmail.com wrote: