diff options
Diffstat (limited to 'recipes-kernel/linux/linux-imx/plat-mxc-double-dma-zone-max.patch')
-rw-r--r-- | recipes-kernel/linux/linux-imx/plat-mxc-double-dma-zone-max.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/recipes-kernel/linux/linux-imx/plat-mxc-double-dma-zone-max.patch b/recipes-kernel/linux/linux-imx/plat-mxc-double-dma-zone-max.patch deleted file mode 100644 index cd13000..0000000 --- a/recipes-kernel/linux/linux-imx/plat-mxc-double-dma-zone-max.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Double the maximum value of DMA_ZONE_SIZE for i.MX (plat-mxc). | ||
2 | |||
3 | This allows to increase the DMA_ZONE, which prevents memory allocation | ||
4 | failures during playout V4L2, such as these: | ||
5 | |||
6 | gplay: page allocation failure. order:10, mode:0xd1 | ||
7 | [<80038538>] (unwind_backtrace+0x0/0xf0) from [<8009c4c8>] (__alloc_pages_nodemask+0x500/0x568) | ||
8 | [<8009c4c8>] (__alloc_pages_nodemask+0x500/0x568) from [<80038f70>] (__dma_alloc+0xec/0x2b8) | ||
9 | [<80038f70>] (__dma_alloc+0xec/0x2b8) from [<800391b4>] (dma_alloc_coherent+0x54/0x60) | ||
10 | [<800391b4>] (dma_alloc_coherent+0x54/0x60) from [<802e40b8>] (mxc_allocate_buffers+0x24/0x7c) | ||
11 | [<802e40b8>] (mxc_allocate_buffers+0x24/0x7c) from [<802e6098>] (mxc_v4l2out_do_ioctl+0x488/0xd9c) | ||
12 | [<802e6098>] (mxc_v4l2out_do_ioctl+0x488/0xd9c) from [<802d945c>] (video_usercopy+0x1e4/0x310) | ||
13 | [<802d945c>] (video_usercopy+0x1e4/0x310) from [<802d889c>] (v4l2_ioctl+0x44/0x4c) | ||
14 | [<802d889c>] (v4l2_ioctl+0x44/0x4c) from [<800d0bb4>] (vfs_ioctl+0x7c/0xac) | ||
15 | [<800d0bb4>] (vfs_ioctl+0x7c/0xac) from [<800d1204>] (do_vfs_ioctl+0x52c/0x57c) | ||
16 | [<800d1204>] (do_vfs_ioctl+0x52c/0x57c) from [<800d1288>] (sys_ioctl+0x34/0x54) | ||
17 | [<800d1288>] (sys_ioctl+0x34/0x54) from [<80033f80>] (ret_fast_syscall+0x0/0x30) | ||
18 | |||
19 | Although this fixes first symptoms, needs further analysis to see if this is | ||
20 | a long term fix. Is this contiguous memory? Does it fragment over time, thus | ||
21 | only delay the actual error occurance, etc? | ||
22 | |||
23 | Signed-off-by: Leon Woestenberg <leon@sidebranch.com> | ||
24 | diff -Nur orig/arch/arm/plat-mxc/Kconfig git/arch/arm/plat-mxc/Kconfig | ||
25 | --- orig/arch/arm/plat-mxc/Kconfig 2011-12-22 15:11:17.589371026 +0100 | ||
26 | +++ git/arch/arm/plat-mxc/Kconfig 2011-12-22 16:10:19.148873805 +0100 | ||
27 | @@ -87,7 +87,7 @@ | ||
28 | |||
29 | config DMA_ZONE_SIZE | ||
30 | int "DMA memory zone size" | ||
31 | - range 0 96 | ||
32 | + range 0 182 | ||
33 | default 24 | ||
34 | help | ||
35 | This is the size in MB for the DMA zone. The DMA zone is used for | ||