diff options
author | Xianzhong <b07117@freescale.com> | 2013-08-29 23:52:00 +0800 |
---|---|---|
committer | Xianzhong <b07117@freescale.com> | 2013-08-30 02:41:53 +0800 |
commit | 02965f5f7558e6201d51857ed80875ba7f770af6 (patch) | |
tree | d05c55ec0b3f7909fceaae44724d899fef7f3bd6 | |
parent | e091161f89661a79788a589b3c455fc43ac788d5 (diff) |
ENGR00277045-2 align gpu baseaddr with ram base addressjb4.3_1.0.0-beta
2G above address will be converted to gpu virtual address in i.MX6,
gpu baseaddr can be used to reduce contiguous memory address conversion,
the benifit for gpu applications and external memory consumers(VPU/IPU) have,
- gpu mmu performance penalty is reduce in most cases,
- more system memory can be exported for external use
Signed-off-by: Xianzhong <b07117@freescale.com>
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-viv_gpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-viv_gpu.c b/arch/arm/plat-mxc/devices/platform-viv_gpu.c index 52c9b082b6ae..677a74763a2e 100644 --- a/arch/arm/plat-mxc/devices/platform-viv_gpu.c +++ b/arch/arm/plat-mxc/devices/platform-viv_gpu.c @@ -34,7 +34,7 @@ const struct imx_viv_gpu_data imx6_gpu_data __initconst = { }; #else const struct imx_viv_gpu_data imx6_gpu_data __initconst = { - .phys_baseaddr = 0, + .phys_baseaddr = MMDC0_ARB_BASE_ADDR, .iobase_3d = GPU_3D_ARB_BASE_ADDR, .irq_3d = MXC_INT_GPU3D_IRQ, .iobase_2d = GPU_2D_ARB_BASE_ADDR, |