MGS-2485 [#imx-309] fix gpu base address for new mmu version
authorXianzhong <xianzhong.li@nxp.com>
Thu, 16 Feb 2017 03:16:43 +0000 (11:16 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:42 +0000 (15:10 -0500)
commit587a23cd8c9837bd5659061ad695fefc4d9c186f
tree7f8710a5ae40990509d786016c4ed0b8d595a81c
parent5b6a1aebe64a264c6c075dac0abdefe03a90b93c
MGS-2485 [#imx-309] fix gpu base address for new mmu version

The new gpu mmu has no base address feature and need set zero,
But hardware mmu version is not initialized before set baseaddress,

Hence kernel will get the wrong base address and pass to user driver,
This fix will add mmu version initialization before version check.

Date: Feb 15, 2017
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware.c
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c