diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-03-11 11:20:47 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-03-16 17:37:03 +0800 |
commit | 1b98d7c4491e5eaba7c403ec1bc5997e6596e569 (patch) | |
tree | cbd325caae3dd704373b6978a1e2368c7ad6e88c /mm/init-mm.c | |
parent | 1014cc38280f29ea0a39ec9a853fa0c3fdfebc7c (diff) | |
download | op-kernel-dev-1b98d7c4491e5eaba7c403ec1bc5997e6596e569.zip op-kernel-dev-1b98d7c4491e5eaba7c403ec1bc5997e6596e569.tar.gz |
ARM: pxafb: rework pxafb overlay memory management
PXAFB overlay memory management is something messy:
- it allocates memory dynamically on open/release, and it results
in memory allocation failure after ~1h of uptime (system does not have
115k of physically contiguous memory)
- in release callback it tries to free memory even if it was not
allocated.
Also driver touches FDADR1 on main plane reconfiguration, and it can cause
problems if overlay1 is enabled.
This patch attempts to fix those issues.
Patch is based on Russell King's work.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions