[FE training-materials-updates] kernel-dma: remove slide about mem=

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 3 09:16:52 CET 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=c6420c7d9e61e3cb6caf43735e58df0f94115451

>---------------------------------------------------------------

commit c6420c7d9e61e3cb6caf43735e58df0f94115451
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Mon Mar 3 09:15:57 2014 +0100

    kernel-dma: remove slide about mem=
    
    The slide about mem= is horrible. There is CMA now, so if we want to
    talk about allocating large DMA buffers, it's clearly not mem= that we
    should present.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


>---------------------------------------------------------------

c6420c7d9e61e3cb6caf43735e58df0f94115451
 .../kernel-driver-development-dma.tex              |   26 --------------------
 1 file changed, 26 deletions(-)

diff --git a/slides/kernel-driver-development-dma/kernel-driver-development-dma.tex b/slides/kernel-driver-development-dma/kernel-driver-development-dma.tex
index b58fe21..2625d0e 100644
--- a/slides/kernel-driver-development-dma/kernel-driver-development-dma.tex
+++ b/slides/kernel-driver-development-dma/kernel-driver-development-dma.tex
@@ -42,32 +42,6 @@
   \end{itemize}
 \end{frame}
 
-\begin{frame}[fragile]
-  \frametitle{Reserving Memory for DMA}
-  \begin{itemize}
-  \item To make sure you've got enough RAM for big DMA transfers...
-  \item Example assuming you have 32 MB of RAM, and need 2 MB for DMA:
-    \begin{itemize}
-    \item Boot your kernel with \code{mem=30}
-    \item The kernel will just use the first 30 MB of RAM.
-    \item Driver code can now reclaim the 2 MB left:
-      \begin{minted}{c}
-dmabuf = ioremap (
-    0x1e00000, /* Start: 30 MB */
-    0x200000   /* Size: 2 MB */
-);
-      \end{minted}
-    \item You can also use \code{mem=} to reserve specific RAM areas
-      for specific devices
-      (DSP, video device...).
-    \item Panda board example:
-      \begin{itemize}
-      \item \code{mem=456M at 0x80000000}, \code{mem=512M at 0xA0000000}
-      \end{itemize}
-    \end{itemize}
-  \end{itemize}
-\end{frame}
-
 \begin{frame}
   \frametitle{Memory Synchronization Issues}
   \begin{itemize}



More information about the training-materials-updates mailing list