]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174323 vpu: Fix system hang issue of multi-instances processing
authorSammy He <r62914@freescale.com>
Tue, 14 Feb 2012 02:09:05 +0000 (10:09 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:55 +0000 (14:10 +0200)
commitbead85c6e411238ac24cbf73a8b366a5ddbc04f4
tree33ecaef19b64ca73aaf11fa34b92f5aa384e65d4
parentceaff06e54a5a55a8cfa3f890b7c1a24329edb84
ENGR00174323 vpu: Fix system hang issue of multi-instances processing

VPU registers have been mapped with ioremap() at probe which
L_PTE_XN is 1, and the same physical address must be mapped multiple
times with same type when doing mmap() to user space, so also need
to set it to 1. Otherwise, there may be unexpected result in video
codec.
Here, Use new defined pgprot_noncachedxn for vm_page_prot in mmap().

Signed-off-by: Sammy He <r62914@freescale.com>
drivers/mxc/vpu/mxc_vpu.c