summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv
AgeCommit message (Collapse)Author
2013-06-19ENGR00266882 fix SabreAuto random system hang issuejb4.2.2_1.1.0-gaRichard Liu
fix SabreAuto random system hang issue, easy catch this hang by monkey test on 1080p display, monkey test command "while true;do monkey -v 100000;done". Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
2013-06-18ENGR00259411-3 fixed 073-base_cl6614_Add_a_gcdSUPPRESS_OOM_MESSAGEXianzhong
Add a gcdSUPPRESS_OOM_MESSAGE build option which can be used to enable an out-of-memory message in kernel. Signed-off-by: Loren Huang <b02279@freescale.com> Fixed Conflicts: drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c Acked-by: Lily Zhang
2013-06-08ENGR00265465 gpu:Add global value for minimum 3D clock exportLoren Huang
Add global value gpu3DMinClock so that minimum 3D clock can be change by user. When gpu min clock is too low, it may cause IPU starvation issue in certain case. Use echo x > /sys/module/galcore/parameters/gpu3DMinClock to change it. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-05-30ENGR00259411-2 073-base_cl6614_Add_a_gcdSUPPRESS_OOM_MESSAGE_build_option_whichLoren Huang
Add a gcdSUPPRESS_OOM_MESSAGE build option which can be used to enable an out-of-memory message in kernel. Signed-off-by: Loren Huang <b02279@freescale.com> Conflicts: drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c Acked-by: Lily Zhang
2013-04-18ENGR00259411 remove __GFP_NOWARN in gpu memory allocatorXianzhong
More information can be dumped when lower-mem killer is triggered Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
2013-04-03Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_4.0.0' into ↵guoyin.chen
imx_3.0.35_android Conflicts: drivers/net/fec.c
2013-04-01ENGR00254106 Avoid incorrect GPU frequency scaling be overwrittenLoren Huang
Correct code to remove unnecessary GPU frequency scaling updte. This patch is from vivante. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-03-28ENGR00255322 Disable non-contiguous memory using for VGLoren Huang
Current OpenVG doesn't support to use non-contiguous memory. Forbid VG to try to allocate non-contiguous memory when video memory is used up temporarily. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-03-28ENGR00255896 gpu4.6.9p11.1 kernel ehancement upgradeXianzhong
This patch is generated on imx_android_jb4.2.2 branch Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
2013-03-15ENGR00254378 Upgrade gpu4.6.9p11.1 for Android JB4.2.2_GAXianzhong
This is linux kernel part of gpu4.6.9p11.1 upgrade. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
2013-03-05ENGR00252727-2 [GPU]Power on VG core if there is only VG core in SoCLoren Huang
-Power on VG core to makesure VG can be initalized if there is only VG core in SoC. -Power off VG core after initalization is done. -Adjust VG power and clock state to match above changing. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-02-26ENGR00243077 Fixed JB4.2 multi-user switch hang issueXianzhong
Gpu virtual memory has potiential hang issue exposed, Vivante will fix this hang issue with 4K contigueous memory limit. 4K limit is needless now and should be disabled by default. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
2013-02-22ENGR00251005 [gpu]4.6.9p11 kernel code integrationLoren Huang
-4.6.9p11 kernel code integration -Additionally release runtime pm and regulator when destory gpu driver to avoid reference count mismatch. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-29ENGR00242201-3 gpu: Makeup GPU driver for kernel 3.5.7Loren HUANG
Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-29ENGR00241739-2 gpu: Enable thermal hot notification in gpu driverRong Dian
Using notify mechanism instead of global variable to trigger gpu3d clock change through thermal driver Signed-off-by: Rong Dian <b38775@freescale.com> Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-25ENGR00240988-12 Enable GPU hardware reset for 3.5 kernelLoren HUANG
Cherry-pick from imx_3.5.7 branch. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-25ENGR00240988-10 Add runtime pm function call in gpu driverLoren HUANG
Cherry-pick from imx_3.5.7 branch. -Add runtime pm function. -Set bus frequency to high when gpu power is on. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-25ENGR00240988-5 Update gpu code to support 3.5 kernelLoren HUANG
Cherry-pick from imx_3.5.7 branch. -Comment regulator setting code temperarily for 3.5 kernel. -Adjust clock setting code based on new clock framework. -Disable dynamic frequency change feature as it depends on thermal driver. -Use DTS to get reserved memory information. -Comment cpu check code for 3.5 kernel. -Comment GPU reset code for 3.5 kernel. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
2013-01-05ENGR00238947 [GPU]Integrate Vivante 4.6.9p10 gpu driver kernel part codeLoren Huang
Integrate both 4.6.9p9.1 and 4.6.9p10. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-11-15ENGR00233452 Integrate 4.6.9p9 GPU kernel part driverLoren Huang
Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-10-16ENGR00229321 Integrate GPU 4.6.9p8 kernel part driverLoren Huang
Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-09-29ENGR00225735-3 GPU: add gpu regulator disable/enable in gpu driverRobin Gong
add gpu regulator management in gpu driver Signed-off-by: Robin Gong <b38343@freescale.com> Acked-by: Lily Zhang Signed-off-by: Robin Gong <b38343@freescale.com>
2012-09-27ENGR00226080 Update GC2000/GC320 AXI bus cache attributeLoren Huang
This patch changed the GPU AXI bus cache attribute to improve the performance of fillrate bound case. Here is some test result: BEFORE:AFTER (larger better) mm06 samruai fps: 117.74:137.64 mm06 proxycon fps: 117.90:135.00 Fillrate with 1 tex: 251.3M:331.1M Fillrate with 2 tex: 402.6M:475.4M Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-09-17ENGR00224467 GPU driver debug version build failure fixLoren Huang
-Fix a value name typo in gc_hal_kernel_hardware.c Signed-off-by: Loren Huang <b02279@freescale.com>
2012-09-12ENGR00222253 Merge vivante 4.6.9_p7 kernel part codeLoren Huang
Merge vivante 4.6.9 p7 kernel part code. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-08-27ENGR00221197-2 Update gpu driver to check Soc temperatureLoren HUANG
-Update gpu driver to check the SoC temperature, if the thermal_hot flag is set by thermal driver. GPU3D clock will be slown down to the minimum value, the clock will be recovery when the flag is cleared by thermal driver. -This patch depends on ENGR00220848, without it, kernel build can't pass. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
2012-08-10ENGR00212489-1 viv_GPU: add reserved memory account handler.Zhang Jiejing
the original low memory killer only take care of system memory accounting, but for so large shared memory occupy by GPU, and each process memory killer account become unfair, very large 3D game will not killed firstly if it going to background. Add this account to let real large memory user get killed if going to background eg, the "angry bird Space" will acquire 68,215,360 GPU memory for 1-6 toll-gate. The test show it can quicker recovery from memory shortage situation, since it's very like to be killed after add so much GPU memory for such 3D game. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com> Acked-by: Lily Zhang
2012-07-27ENGR00218579-2 Update dynamically change GPU clock implementationLoren Huang
It fixed the issue which causes gpu driver can't enter suspend and idle mode. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-27ENGR00218579-1 Update dynamically change GPU clock implementationLoren Huang
This patch from vivante. It fixed the stress test failure issue by disabling all internal clock before clock updating. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-26ENGR00217633 Add force contiguous memory pool in gpu driverRichard Liu
Add force contiguous memory pool in gpu driver Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
2012-07-25ENGR00214404-1 Merge vivante 4.6.9_p4 kernel part codeLoren Huang
Merge vivante 4.6.9 kernel part code Updated clock management code Updated gpu reset code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-25ENGR00215999 Export API for update gpu active clock dynamicallyLoren Huang
The patch is from vivante. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00215344 GPU became slow after long time run some applicationsRichard Liu
GPU became slow after long time run some applications root cause is when GPU reserved memory exhaust, GPU will request continue physical memory which will trigger defregment operation in kernel and cause system slow Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00214791-2 [MX6] GalCore gets baseAddress parameter for kernelLarry Li
Galcore reads baseAddress parameter from GPU resource set by kernel Signed-off-by: Larry Li <b20787@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00213170-2 [MX6SL] Enable GPU driverLarry Li
Use allocated GPU resource to enable GPU. Memroy address on imx6sl board starts from 0x80000000 and GC320 can access [baseAddress, baseAddress + 2G) only without MMU. So to make GC320 work, baseAddres must be set to 0x80000000, and all address sent to GC320 must be a offset to baseAddress. GC355 doesn't need this baseAddress, that means it needs a real physcial adress, rather than the offset to baseAddress. Original code always change phsysical address to 'offset' before use it, no matter it is used by GC355 or GC320, so only one of them can work. Solution is to move address adjustion to arch specific part. So each core can get what it wants. Signed-off-by: Larry Li <b20787@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00212489-1 viv_GPU: add reserved memory account handler.Zhang Jiejing
the original low memory killer only take care of system memory accounting, but for so large shared memory occupy by GPU, and each process memory killer account become unfair, very large 3D game will not killed firstly if it going to background. Add this account to let real large memory user get killed if going to background eg, the "angry bird Space" will acquire 68,215,360 GPU memory for 1-6 toll-gate. The test show it can quicker recovery from memory shortage situation, since it's very like to be killed after add so much GPU memory for such 3D game. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-07-20ENGR00209716-2 Revert "ENGR00209022 Update gpu clock management code"Loren Huang
This code is in 4.6.8 package. This patch will cause suspend/resume failure and data abort for vg applications. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00209716-1 Merge vivante 4.6.8 kernel part codeLoren Huang
Merge vivante 4.6.8 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00209022 Update gpu clock management codeLoren Huang
-This patch from vivante.They need to bypass the reference count in clock management code as they may touch clock while they just want to change power state. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00182245 Increase gpu mmu handling size to 2GLoren Huang
This change can avoid gpu to access invalid address. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00180624 Merge vivante 4.6.7p1 kernel part codeLoren Huang
Merge vivante 4.6.7p1 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00170747 gpu driver : add AXI BUS ERROR messageb07117
AXI BUS ERROR may occur in very low possibility, this debug message exist before 4.4.2, but removed in 4.6.x, need add it back to trace critical gpu issue Signed-off-by: Li Xianzhong <b07117@freescale.com> Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00179642 Remove a workaround for suspend/resumeLoren Huang
Remove a workaround for suspend/resume: The workaround is turn on clock before gpu entering suspend. After clock code bug is fixed, this workaround becomes no necessary. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00179485 fix CTS hang up issueRichard Liu
fix random hang up issue especially run CTS provided by Viv Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00178642-1 gpu-viv: fix suspend/resume issue for #304Richard Zhao
Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00177264 Merge vivante 4.6.6p2 kernel part codeLoren Huang
Merge vivante 4.6.6p2 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00177048 Merge vivante 4.6.6 kernel part codeLoren Huang
Merge vivante 4.6.6 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00176921:gpu-viv: set outstanding request number for all chips that ↵Wu Guoxing
using gc320 this needs by all the chips(6dl, 6dq) that using gc320 this is vivante's IP bug, that when set outstanding number bigger than 16, it will have a chance for gc320 to dead lock the axi bus, which will lead to system hang. also, as our chip can only support axi outstanding of 8(for 6dl) and 4(6dq), this change have no performance impact. Signed-off-by: Wu Guoxing <b39297@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00176656:gpu-viv:separate gpu 2d and vg core clock and axi clock operationWu Guoxing
separate gpu 2d and vg core clock and axi clock operation Signed-off-by: Wu Guoxing <b39297@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00175090 Update the fsl copyright of gpu kernel driver to 2012Huang Loren
Update the fsl copyright of gpu kernel driver to 2012 Signed-off-by: Huang Loren <b02279@freescale.com>