]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00274782 fixed gpu crash when baseAddress is not 0 or 2G
authorXianzhong <b07117@freescale.com>
Tue, 13 Aug 2013 15:16:24 +0000 (23:16 +0800)
committerLoren HUANG <b02279@freescale.com>
Thu, 31 Oct 2013 05:59:38 +0000 (13:59 +0800)
commitac7f08d49ada990c44c935c387ff94cf68e7e67f
tree71451ed634510346b12a9449a6090491662c9c49
parent9ac20c8edb8660c19198d278bf74183ef4bab5d3
ENGR00274782 fixed gpu crash when baseAddress is not 0 or 2G

The baseAddress of contiguousVidMem is the actual physical address
which is not subtracted by gpu baseAddress, but the allocated physical address
has been subtracted by gpu baseAddress in gckVIDMEM_Lock,
so the invalid offset is produced and used to calculate the logical address.

Signed-off-by: Xianzhong <b07117@freescale.com>
Acked-by: Shawn Guo
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_linux.c