summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-12MGS-532 [#1630] P13 driver meet "AXI BUS ERROR" on GC2000rel_imx_3.10.17_1.0.3_patchShawn Xiao
When run Antutu benchmark several times continuously, it will show "AXI BUS ERROR". The root cause is When unlock a surface, driver must flush its GPU cache. Otherwise, GPU may write out the cache after GPU address is freed, which will cause MMU Exception or AXI bus error. Even if GPU address isn't freed, data in cache may pollute memory after memory is used by another surface. The solution is Before an event is written to command buffer, driver checks the group of records linked to this event to find out which kinds of cache need to flush. This method doesn't care whether the record is from user side or kernel. And driver generates only one flush for a group of records. Date: Jun 11, 2015 Signed-off-by: Meng Mingming <b51843@freescale.com>
2015-05-15MA-4701 ENGR00278179-3 [#ccc] query openvg video memory databaseShawn Xiao
query openvg video memory database with gpu memory tool Date: Aug 11, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2015-05-15MGS-715 [#ccc] Uninitialized pointer cause compiler warningShawn Xiao
Some variables is not initialized, which causes compiler prompt there may be potential harm. This patch from Conti gives initial value to such variables. Date May 7, 2015 Signed-off-by: Shawn Xiao <b49994@freescale.com>
2015-05-15MGS-722 [#ccc] Dump kernel command, event queue and DB status when GPU hangShawn Xiao
To make it easy to debug GPU hang issue in 4.x driver, add the function to dump kernel command buffer, event queue and DB status when GPU hang. This logic only work when GPU hang, and have no side effect when GPU run well. Date May 6, 2015 Signed-off-by: Shawn Xiao <b49994@freescale.com>
2015-05-15MGS-332 [#ccc] Support N VSYNC feature in weston client.Shawn Xiao
Support eglSwapInterval >1 to throttle rendering performance of an application. Such as setting it to 3 can throttle the application to 20fps on a 60Hz display. Date: Dec 17, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com>
2015-05-15MGS-293-1 [#ccc] Wayland EGL is not throttling to VSYNC by defaultShawn Xiao
Introduced a new event queue in which the swap worker can dispatch its frame callback events so it does not interfere with the main EGL thread waiting for the buffer release event. Otherwise there would be a race between checking for received events and entering dispatch function. Date: Nov 28, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com>
2015-05-15MGS-732 [#ccc] fix gpu hang when disable power managementShawn Xiao
gpu hang when disable power management, because GPU PU is turned off before gpu probe, gpu power management need handle this case and turn the power on first. Date: May 11, 2015 Signed-off-by: Xianzhong <b07117@freescale.com>
2015-05-15MA-6054 [#ccc] fix gckKERNEL_QueryProcessDB crash on i.MX6SLShawn Xiao
this crash issue is caused by kernel NULL pointer when access GPU database, GPU database is shared by all kernels, it can be queried with any valid kernel. this patch will find the valid kernel pointer to avoid GPU kernel crash. the backtrace when crash is triggered with lowermem killer on i.mx6sl: [<c03713b4>] (gckKERNEL_QueryProcessDB+0x24/0x1c4) from [<c0367d00>] (viv_gpu_resmem_query+0x28/0x4c) [<c0367d00>] (viv_gpu_resmem_query+0x28/0x4c) from [<c039b228>] (lowmem_shrink+0x278/0x448) [<c039b228>] (lowmem_shrink+0x278/0x448) from [<c00c59d8>] (shrink_slab+0x160/0x1e4) [<c00c59d8>] (shrink_slab+0x160/0x1e4) from [<c00c82c0>] (kswapd+0x664/0x954) [<c00c82c0>] (kswapd+0x664/0x954) from [<c008683c>] (kthread+0x80/0x88) [<c008683c>] (kthread+0x80/0x88) from [<c003c874>] (kernel_thread_exit+0x0/0x8) Date: Dec 26, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2015-05-15MGS-732 ENGR00325693-2 [#1318] Add eglSwapInterval support in Wayland clientShawn Xiao
Add gcoOS_SetSwapIntervalEx implement for Wayland. Wait frame callback if swapInverval enabled. Date: Aug 04, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com>
2015-05-15MGS-327 [#ccc] Unexpected exit like Ctrl-C cause Kernel crashShawn Xiao
Issue in MGS-327 happens when Apps exit unexpectedly such as receiving Ctrl-C terminated signal. This is caused by some operations like memory free are done twice. If the exit happens when ioctl back from kernel space, the event queue will have no chance to be freed but the events in the queue have been put to GPU. To prevent memory leak, when Apps exit GPU driver will clean the resource it occupied. So when flush the command buffer, the original event queue will be put to kernel again. This will lead the events in the queue will be redo. To avoid this problem, after the AddList operation in Kernel, clean the iface and copy it to user space. Once the same iface is transfered to kernel again, its key information will be null and it will not pass Addlist parameter check. So it will not be done twice. Date Dec 15, 2014 Signed-off-by: Shawn Xiao <b49994@freescale.com>
2015-05-15MGS-213 [#1469] detect VG state in power managementShawn Xiao
this patch is provided by Vivante to enhance VG power up. comparing to 2D/3D power management, there is no state detection in VG power up, that will cause that VG core hang due to the abnormal GPU power up. Date: Dec 01, 2014 Signed-off-by: Xianzhong <b07117@freescale.com>
2015-04-03MGS-608 [#1592] disable GC2000 TX clock gatingXianzhong
Random hang may occur if module clock gating is enabled for TX module, The software workaround is to disable clock gating for the TX module Date: Apr 03, 2015 Signed-off-by: Xianzhong <b07117@freescale.com> (cherry picked from commit 966821ec3d297280398b68194d090dbc10690446)
2014-09-18crypto: testmgr - avoid DMA mapping from text, rodata, stackrel_imx_3.10.17_1.0.2_gaHoria Geanta
With DMA_API_DEBUG set, following warnings are emitted (tested on CAAM accelerator): DMA-API: device driver maps memory from kernel text or rodata DMA-API: device driver maps memory from stack and the culprits are: -key in __test_aead and __test_hash -result in __test_hash MAX_KEYLEN is changed to accommodate maximum key length from existing test vectors in crypto/testmgr.h (131 bytes) and rounded. Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-09-18crypto: testmgr - Fix DMA-API warningTadeusz Struk
With DMA-API debug enabled testmgr triggers a "DMA-API: device driver maps memory from stack" warning, when tested on a crypto HW accelerator. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-09-18ENGR00332071 Revert "ENGR00322632 [#1243] fix invalid data access over ↵Xianzhong
memory mapping" This reverts commit 321862cbad506707fe9d0ae4dcca24a865a5feea. this patch is from Vivante without test, it causes X issue Date: Sep 18, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 7cc50eb75efb4c8d41e48577dc020a700ddb1039)
2014-08-20ENGR00313001 separate GPU low memory killer and reserve memory accountRichard Liu
separate GPU low memory killer and GPU reserve memory account query code, so that we can separate control GPU low memory killer and android system low memory killer to query the reserve memory account. Signed-off-by: Richard Liu <r66033@freescale.com> (cherry picked from commit 6fbb4058a21d24384e4c8f2d3fd8ef33c2141302) (cherry picked from commit dde88d1e7c3173c16844c9a0fa7f84365fa4ed76)
2014-08-20ENGR00322672 [#1244] avoid system freeze when dump GPU state without valid ↵Loren Huang
clock & power GPU recovery is disabled by default, GPU kernel driver will dump hardware status, but if GPU clock & power is truned off, system will get frozen unexpectedly. this fix is to avoid system freeze by detecting clock & power state. Date: Jul 14, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Shawn Guo (cherry picked from commit 05fd7bf5615a9ccde4af97ff7dcae3e7e2c9a86a) (cherry picked from commit 7c094ccb55e4a70ada5d7c2df8b6d3816956333a)
2014-08-15ENGR00322632 [#1243] fix memory type to avoid overwriting issueXianzhong
fix invalid access issue in GPU kernel triggered with the certain condition, memory extensive type exceed 256 and will cause memory overwriting issue Date: Jul 14, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 0db530ceadb9e1559793c725d4ab576370ffb1c2)
2014-08-15ENGR00325794 [#1087] fix video memory mutex sharing issueXianzhong
the root cause is video memory mutex is not global variable, it will cause video memory managment problem with mixed 2D/3D/VG. kernel panic with multiple instances stress test running glesx_viv.sh. Date: Jul 31, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 02bdc91149f077aba37c790aca1e59041d473f71) (cherry picked from commit 26c25e084b4137bf19aaa20e5075bb3c16096066) (cherry picked from commit 94c683128e5b7b2d2aaa92de28a32500926b0fad)
2014-08-15ENGR00316978 [#1162] force_sig crash in GPU lower memory killerLoren Huang
it is caused when multiple threads try to kill same one process, the global semaphore is used to avoid this conflict. Date: Jun 05, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 48c860eba3aae80c85587a37a858082b3a8b7b08) (cherry picked from commit d6acc3d27428be0d0b4682ab86b76de03c54efab)
2014-08-15ENGR00315583 [#1209] fix random data corruption in GPU memoryLoren Huang
GPU memory node should not be used after node structure is destoryed, that will cause random GPU memory data corruption issue in Android platform. the issue can be reproduced when run cts -p android.opengl repeatly(more than 100 times) Date: May 28, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 36dbe12f0dbd01dd7ef10b52a9c508fa5d7d19d0) (cherry picked from commit c81d392b824699088f88d4552cb1935d94d89dc3)
2014-08-15ENGR00313862 [#1173] fix android cts testThroughput failLoren Huang
fix android.media.cts.PresentationSyncTest#testThroughput cts fail, root cause is dequeueBuffer and queueBuffer in Surface will acquire the same mutex and in GPU driver dequeueBuffer and queueBuffer is work at asynchronous mode, so queueBuffer maybe blocked by dequeueBuffer and dequeueBuffer will return after 16ms (vsync time). Date: May 16, 2014 Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu (cherry picked from commit e62993b346e418f08cb88d25303a0541653a5468) (cherry picked from commit cb850fe07a406ecd4610b985b23b55b37dcdb703)
2014-08-15ENGR00314119 [#1183] fixed database mutex multi-lock issueXianzhong
The abnormal flow with the monkey test freeze problem is as below: gckKERNEL_DestroyProcessDB--> aquire mutex --> gckCOMMAND_Detach(gckEVENT_FreeContiguousMemory) --> ___RemoveRecordFromProcessDB --> gckKERNEL_RemoveProcessDB --> aquire the same mutex the fix is to disable mutex lock when perform record destory operations Date: May 19, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 8d62ea9a655f1bb0ca86af222de7625abc8d2bc8) (cherry picked from commit cd5a9a37525d4d2f79b6013f4bd93779b900b854) (cherry picked from commit 31d6a06da4cf9beacd9b1ba7a7e67d41cee18f7d)
2014-08-15ENGR00312477 [#1162] fixed gpu lower memory killerXianzhong
mutex operation is performed in gckKERNEL_QueryProcessDB remove spinlock for gckKERNEL_QueryProcessDB to avoid scheduling issue Date: May 08, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 554581201c0a1c2c7caddad5750b1fd678e09c8c) (cherry picked from commit 78ecaf1c6475ee188a6a2a1dfbe954e457a28997) (cherry picked from commit 6837de20c0ce171bc16c7d779d6ac177b53d5529)
2014-08-15ENGR00308899 [#1087] enhanced GPU database protectionXianzhong
the potential risk is found in special case when application exit, deleting record will cause the unexpected issue when process database is destoryed without atom protection the enhanced database patch should be applied to avoid the unexpected kernel issue Date: Apr 17, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit e799c1ae023264c0e1e1e41d448e30e2304944e1) (cherry picked from commit 7eb5273b6dd61d61c2ffe778bdb6d5032bbc1aa0) (cherry picked from commit ae4ba121bb72164183d7a47eb8a7c3ea316f6204)
2014-08-15ENGR00309915 [#1087] enhanced video memory mutexXianzhong
this patch can fix NULL pointer issue in GPU kernel driver with the following log [<7f240438>] (gckEVENT_AddList+0x0/0x810 [galcore]) from [<7f239ebc>] (gckCOMMAND_Commit+0xf28/0x118c [galcore]) [<7f238f94>] (gckCOMMAND_Commit+0x0/0x118c [galcore]) from [<7f2362dc>] (gckKERNEL_Dispatch+0x120c/0x24e4 [galcore]) [<7f2350d0>] (gckKERNEL_Dispatch+0x0/0x24e4 [galcore]) from [<7f222280>] (drv_ioctl+0x390/0x540 [galcore]) [<7f221ef0>] (drv_ioctl+0x0/0x540 [galcore]) from [<800facd0>] (vfs_ioctl+0x30/0x44) The false code is at 0x217bc where the 0-pointer happens (r3 = 0) gcuVIDMEM_NODE_PTR node = (gcuVIDMEM_NODE_PTR)(gcmUINT64_TO_PTR(Record->info.u.FreeVideoMemory.node)); 217b8: e5953028 ldr r3, [r5, #40] ; 0x28 if (node->VidMem.memory->object.type == gcvOBJ_VIDMEM) 217bc: e5932000 ldr r2, [r3] 217c0: e5922000 ldr r2, [r2] 217c4: e152000a cmp r2, sl { gcmkVERIFY_OK(gckKERNEL_RemoveProcessDB(Event->kernel, Date: Apr 23, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit fcde214d8c793d4dd785e47175b5833f1f3f5f1f) (cherry picked from commit 952142648d76fce2663ef649d9f988f1b7809815) (cherry picked from commit 9d7b33678f1f944f75644e958c3ceeb7f2e4bac9)
2014-08-15ENGR00310166 [#1157] disable GPU recovery functionRichard Liu
Disable GPU auto recovery so that GPU can dump the stack. GPU support auto recovery function, when GPU meet some issue it will try to do recovery, but most of cases GPU can't really recovery, we do find some cases GPU can recovery for example some 2D hang, but customer is not accept such recovery, so show the GPU stack dump and find the root cause is the correct way. Date: Apr 24, 2014 Signed-off-by: Richard Liu <r66033@freescale.com> (cherry picked from commit 888c79ab0f114b7b259266fc82c1399cbb926faf) (cherry picked from commit 8a213f47050eb49da70877090e07323b530bf147) (cherry picked from commit 6f779e52e7678aaab198ea4caa9bac1e686a44eb)
2014-08-15ENGR00308233-4 [#791]Refine wclip workaround algorithm 003Loren Huang
Vivante patch name:000e-more-refinements-for-wclip-issue Date: Apr 14, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo (cherry picked from commit 3fae441a3b6a40e4981473bf967c121e22a9eda7) (cherry picked from commit 46dcad78113f8c4757d8bb36a91f865ac6bc5afb)
2014-08-15ENGR00308233-3 [#791]Refine wclip workaround algorithm 002Loren Huang
Vivante patch name:0002-more-refinements-for-wclip-issue Date: Apr 14, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo (cherry picked from commit e25208c14fcfae452ebd378e33c671a8366ee55a) (cherry picked from commit c7d1eab0815f6034b78263e7c994179e3b897d1c)
2014-08-15ENGR00308233-2 [#791]Refine wclip workaround algorithm 001Loren Huang
Vivante patch name:0001-more-refinements-for-wclip-issue Date: Apr 14, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo (cherry picked from commit 807330b464a55be19d4d5117e5f6b161f00a2f88) (cherry picked from commit ebced57ab02386cbc00d550b03e9546e07f1db8d)
2014-08-15ENGR00306397 [#1118] use BUG_ON to check if GPU clock is offXianzhong
Access GPU register will cause system hang(bus lock-up) without log when clock is off, GPU kernel BUG_ON is added to check if GPU clock is off when read & write GPU registers, GPU clock issue can be easily identified with the detailed kernel panic log as below: kernel BUG at drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c:2423! Unable to handle kernel NULL pointer dereference at virtual address 0000000 ... [<c0050008>] (__bug+0x1c/0x28) from [<c046bb3c>] (gckOS_ReadRegisterEx+0xbc/0xdc) [<c046bb3c>] (gckOS_ReadRegisterEx+0xbc/0xdc) from [<c047eab4>] (gckHARDWARE_QueryIdle+0x4c/0xbc) [<c047eab4>] (gckHARDWARE_QueryIdle+0x4c/0xbc) from [<c0475e0c>] (_TryToIdleGPU+0x70/0x12c) Mutex protection is not necessary for interrupt handling, because GPU clock is only turned off by interrupt worker thread during clock gating. Date: Apr 11, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 50c3767eb19bb22f395215755dac220f4bbb2f14) (cherry picked from commit faf4eb3fd5a66661782f8d0395a27016d7a8fc52) (cherry picked from commit f8a666c09cd714a609812552b73603d23879b10f)
2014-08-13ENGR00307848 MXC IPUv3 fb: Fix MXCFB_CSC_UPDATE ioctl()Julien Olivain
Add a missing 'break' in the MXCFB_CSC_UPDATE case in mxcfb_ioctl(), to prevent it to always return EINVAL (Invalid argument). Acked-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Julien Olivain <julien.olivain@freescale.com>
2014-07-15ENGR00300876 [#ccc] Fix flick issue in GAL2D compositorLoren Huang
Move wl_surface_commit to work thread. Fix memory leak in wl_egl_window_resize. Date: Jul 10, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com> Acked-by: Jason Liu (cherry picked from commit c114ec8a4c74fc2a2d0f64c60031c66d2225ff83)
2014-07-15ENGR00306992-2 gpu:gpu2d may cause bus hang in some corner caseLoren Huang
Vivante patch name: fix_fsl_2d_base_on_p13.v2.rls.diff -Updated the outstanding request limit to 12. -Refined the 2D chip feature check. -Refine the 2D cache flush operation (avoid FE and PE access memory through the same port). -Enable cache flush for filterblt. -Dynamic enabling SPLIT_RECT by checking chip feature(disable for us) -Use brush stretch blt for clear operation. -Enable SplitFilterBlit to workaround the 2d hang issue in filterblit case. -Refine 2d line operation. Date: May 05, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo (cherry picked from commit 479b9125caefc45451aa1c4a1b7f2704b57831fa)
2014-07-02ENGR00320554: ARM: imx: drop unncessary PL310 errataRichard Liu
The PL310 integrated on i.MX6 series and VF610 are revision r3p1 and later. Per ARM PL310 errata document, 588369 is fixed in r2p0 and 727915 is fixed in r3p1. Neither is needed for i.MX6 or VF610. So let's drop them. Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu <r64343@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
2014-06-26ENGR00320048 ARM:imx6sl:Ensure that bandgap is not disabled in LDO-enabled modeRanjani Vaidyanathan
The main bandgap is required for regulation in LDO-enabled mode. Ensure that the main bandgap is only disabled in LDO-bypass mode when entering low power IDLE. Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
2014-06-13ENGR00318392 ARM:imx6x: Save/restore SCU and some CP15 registers across ↵Ranjani Vaidyanathan
suspend/resume This patch ensures that the SCU and certain A9 CP15 registers state are maintained across a suspend/resume cycle: 1. Need to ensure that SCU standby bit is set again after suspend/resume cycle, else the system will never WAIT mode after a suspend/resume cycle. This bit should be enabled on all SMP systems immaterial of whether CPUIDLE is enabled or not. 2. Several A9 errata workarounds involve setting bits in the ARM diagnostic register. Save/restore this register across a suspend/resume cycle. 3. Save and restore the A9 power control register also. Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com> (cherry picked from commit 7b5b4ef5b3cdc65c0576f87cfa52bcca1bda8b33)
2014-05-26ENGR00301078-2: ARM: dts: imx6sl-evk: add support for pfuze200 on imx6sl-evkRobin Gong
move pmic device node from imx6sl-evk.dtsi to upper-level, and add another layer on imx6sl-evk to diff pfuze100 or pfuze200. Meanwhile only works in ldo-enable mode if using pfuze200, since 'SW1C' switch regulator is cut for cost-down which means VDDARM_IN and VDDSOC_IN have to share the same switch regulator Signed-off-by: Robin Gong <b38343@freescale.com>
2014-05-26ENGR00301078-1: ARM: dts: imx6dl-sabresd: add support for pfuze200 on ↵Robin Gong
mx6dl-sabresd move pmic device node from imx6qdl-sabresd.dtsi to up-level, and add another layer on imx6dl-sabresd to diff pfuze100 or pfuze200. Meanwhile only work in ldo-enable mode if using pfuze200,since 'SW1C' switch regulator is cut for cost-down which means VDDARM_IN and VDDSOC_IN have to share the same switch regulator Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 32e4e161b087bfdcea74bd80f0b24c341092c96b)
2014-05-26pfuze100-regulator: Fix of_node_get() parameterFabio Estevam
Since commit d7857c42 (regulator: pfuze100: Use of_get_child_by_name) we get the following probe failure: pfuze100-regulator 1-0008: Full layer: 1, Metal layer: 0 pfuze100-regulator 1-0008: FAB: 0, FIN: 0 pfuze100-regulator 1-0008: regulators node not found pfuze100-regulator: probe of 1-0008 failed with error -22 Now that of_get_child_by_name() is used we should adjust the device_node pointer 'np' to not get the parent node anymore. Suggested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 0780208ff201feb45e12ebecb39ecac4740b1244)
2014-05-26regulator: pfuze100: Use of_get_child_by_nameSachin Kamat
of_find_node_by_name walks the allnodes list, and can thus walk outside of the parent node. Use of_get_child_by_name instead. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 4d286178d55cc5811d50750a44eb729252adef11)
2014-05-26regulator: pfuze100: Add PFUZE200 support to Kconfig and module descriptionAxel Lin
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 2cee2121db44cfeee206d0854bedd52344eea444) Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 88236aaba4ed9b89a7873b30fc1ca9cdcb6b407d)
2014-05-26regulator: pfuze100: Add terminate entry for [i2c|of]_device_id tablesAxel Lin
Also remove PFUZE_NUM to avoid below build warnings: CC [M] drivers/regulator/pfuze100-regulator.o drivers/regulator/pfuze100-regulator.c:86:2: warning: excess elements in array initializer [enabled by default] drivers/regulator/pfuze100-regulator.c:86:2: warning: (near initialization for 'pfuze_device_id') [enabled by default] drivers/regulator/pfuze100-regulator.c:93:2: warning: excess elements in array initializer [enabled by default] drivers/regulator/pfuze100-regulator.c:93:2: warning: (near initialization for 'pfuze_dt_ids') [enabled by default] Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit e6c4c3378d82c5eeb136ed06b1a23651bcdaf739) (cherry picked from commit 12c7dd7c396378fd6dc907903a4ae540a75b31f5)
2014-05-26regulator: pfuze100: add pfuze200 supportRobin Gong
support pfuze200 chip which remove SW1C and SW4 based on pfuze100. Signed-off-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit f2518480c7b744296a5587990a54e3a284d932b8) Conflicts: drivers/regulator/pfuze100-regulator.c (cherry picked from commit f9e62732cfb59ff68fed303bbbb3913d2f1002bf)
2014-05-26regulator: pfuze100: Fix address of FABIDAxel Lin
According to the datasheet, the address of FABID is 0x4. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org (cherry picked from commit c07a24939f36fb6de522a9726369ea64eee5d98d) (cherry picked from commit cfec286ff9f375c2c289072d63cedbb0c7917a48)
2014-05-23ENGR00309838 ARM: imx6sl: gpc: add chip revision check for dispmixRobby Cai
The dispmix feature works without problem since TO1.2. This patch adds the back-compatibility for older chip. Signed-off-by: Robby Cai <r63905@freescale.com> (cherry picked from commit a187b916d55052fed10de1797009250095b598fb)
2014-04-04ENGR00306992 Revert "ENGR00302036-3 gpu:gpu2d may cause bus hang in some ↵rel_imx_3.10.17_1.0.0_ga3.10-imx6-3.10.17-1.0.0-ts1Loren Huang
corner case" This reverts commit 563931094bf096da2ce6f2cc40387f9e726b3342. That patch causes wrong blitting and will block GA release Date: Apr 04, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo
2014-04-03ENGR00306875-2 video: mxc_hdmi: Set hdmi cable state a bit earilierNicolin Chen
During hdmi hotplug test, there's a possibility that X-server unblanks the frame buffer while HDMI-audio just gets the signal to start playback. Then audio would get an unblanked state right before the playback and bypassed the DMA enabling code. So this issue is caused by the race between unblank and set_cable_state(). This patch sets the hdmi cable state a bit earilier so as to let audio play first. If unblank happens later, the hdmi core and hdmi audio would be robust enough to handle that case as long as it's not racing with the other parts. Acked-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
2014-04-03ENGR00306875-1 Revert "ENGR00305624-2 ASoC: imx-hdmi-dma: Correct the appl ↵Nicolin Chen
pointer" After change the pointer, ALSA lib would re-copy the initial data to DMA buffer because the pointer is pointing the zero position at the beginning, which results an audiable duplicated playback at the first eight periods. Even though dropping this patch would cause pointer being incorrectly estimated. But to maintain the sanity of basic playback, we revert the previous patch. This reverts commit 5d0d4e1558fa0c235691436e1c5d26d9c8950775. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
2014-04-03ENGR00306832 mxsfb: xres_virtual should not larger than xresSandor Yu
eLCDIF did not support stride buffer, check the xres_virtual in function mxfb_check_var, return false if the value larger than xres. Signed-off-by: Sandor Yu <R01008@freescale.com>