summaryrefslogtreecommitdiffstats
path: root/dma/nwl.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-10-20 00:01:40 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-10-20 00:01:40 +0200
commitaec34126786fe2936bb3e78e71da3d2719591cfd (patch)
treeae7de923fc30541d9c5ba1c74bc69c83e0150247 /dma/nwl.h
parent84bb1bb6130f1745ecc19a0210d06e2fe7a1635f (diff)
downloadipecamera-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.gz
ipecamera-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.bz2
ipecamera-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.xz
ipecamera-aec34126786fe2936bb3e78e71da3d2719591cfd.zip
Decrease size of DMA buffer (bigger sizes limit DMA bandwidth)
Diffstat (limited to 'dma/nwl.h')
-rw-r--r--dma/nwl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/nwl.h b/dma/nwl.h
index 0b262da..d295e23 100644
--- a/dma/nwl.h
+++ b/dma/nwl.h
@@ -13,7 +13,7 @@ typedef struct pcilib_nwl_engine_description_s pcilib_nwl_engine_description_t;
#define PCILIB_NWL_ALIGNMENT 64 // in bytes
#define PCILIB_NWL_DMA_DESCRIPTOR_SIZE 64 // in bytes
-#define PCILIB_NWL_DMA_PAGES 2048 // 1024
+#define PCILIB_NWL_DMA_PAGES 256 // 1024
//#define DEBUG_HARDWARE
//#define DEBUG_NWL