summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2014-08-26ENGR00327608 [GPU] Integrate latest 4.6.9p13 release kernel driverjb4.3_1.1.1-gaJay Tu
Integrate GPU latest release kernel driver for Android from imx_3.0.35_4.1.0 Signed-off-by: Jay Tu <jay.tu@freescale.com> Acked-by: Jason Liu
2014-08-26ENGR00327608 Revert "ENGR00278452 PU: fix system hang if run Audio loop test"Jay Tu
This reverts commit d3d6949649c522ae692287de2b12c744676076aa. We didn't find the way to reproduce the issue and the changes in gpu kernel is not in gpu repository. Revert this firstly and checked if we can find the way to see the issue cleary. Signed-off-by: Jay Tu <jay.tu@freescale.com>
2014-05-15ENGR00313001-1 add CONFIG_GPU_LOW_MEMORY_KILLER and default enableRichard Liu
add CONFIG_GPU_LOW_MEMORY_KILLER and by default enable GPU low memory killer. Signed-off-by: Richard Liu <r66033@freescale.com>
2014-05-15ENGR00313001 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>
2014-05-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
2014-05-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
2014-05-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
2014-05-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>
2014-05-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
2014-05-15ENGR00303820 [#887] refine physical address check for external memoryXianzhong
2G above address will cause system reboot and fixed in original patch, error check code is added based on the original logic. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2014-05-15ENGR00294354 gpu:Using vitural memory cause AXI bus errorLoren Huang
There are two possible reasons to cause AXI bus error 1.Allocate Tile status buffer from virtual memory. It seems gc2000 and gc880 doesn't support tile status buffer from virtual memory. 2.Stream buffer using very beginning gpu mmu address. In this condition, a faked non gpu mmu address maybe generated and fill into gpu which cause AXI bus error. [DATE]09-01-2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo
2014-05-14ENGR00306992-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
2014-04-22ENGR00306257 [#1027]fix system hang up issue caused by GPURichard Liu
This issue happens when multiple thread is trying to idle GPU at the same time, root cause is some wrong logic related with powerMutex which cause cpu still access GPU AHB register after GPU is suspend(clock off), that cause the bus lockup and make the whole system hang. Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu
2013-12-04ENGR00290463 revert exact pages allocator to fix system reboot issuejb4.3_1.1.0-gaXianzhong
System reboot occur during 1080p recording if exit MovieStudio after play a mixed clip with single HDMI, Vivante's intial feedback is alloc_pages_exact/free_pages_exact APIs are not stable in some kernel, In other side, need check if some memory size miscalculated is hided by this optimization. Temporarily this optimization shall be reverted to fix the critical issue. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-28ENGR00289999 fixed gc880 invalid command state messageXianzhong
gpu kernel dump the error message when enable DEBUG mode: gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. align gpu kernel driver to fix the error message Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-28ENGR00288588 fixed system reboot when run webGL testXianzhong
this is a fake recovery to cause system reboot, when run http://people.mozilla.org/~sicking/webgl/ray.html the fix is to disable GPU recovery in Chrome browser, Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-11-04ENGR00283031 [GPU]Integrate 4.6.9p13 release kernel driverXianzhong
Integrate GPU 4.6.9p13 release kernel driver for Android. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-10-25ENGR00284988 Camera recording kernel crash on WFD sourcejb4.3_1.0.0-gaRichard Liu
Fix kernel crash issue meet when do 720p Camera recording on WFD source side, the crash is related with timer schedule, fixed by add protection code in gckOS_StartTimer function. Kernel crash log: [<c004ffec>] (__bug+0x1c/0x28) from [<c00a7e00>] (queue_delayed_work_on+0x10c/0x148) [<c00a7e00>] (queue_delayed_work_on+0x10c/0x148) from [<c046f4d0>] (gckOS_StartTimer+0x44/0x84) [<c046f4d0>] (gckOS_StartTimer+0x44/0x84) from [<c047f4ac>] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) [<c047f4ac>] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) from [<c046e608>] (gckOS_Broadcast+0xb8/0xe8) [<c046e608>] (gckOS_Broadcast+0xb8/0xe8) from [<c0475734>] (_TryToIdleGPU+0xd8/0x18c) [<c0475734>] (_TryToIdleGPU+0xd8/0x18c) from [<c0476cdc>] (gckEVENT_Notify+0x2dc/0x4c8) [<c0476cdc>] (gckEVENT_Notify+0x2dc/0x4c8) from [<c047d494>] (gckHARDWARE_Interrupt+0x58/0x68) [<c047d494>] (gckHARDWARE_Interrupt+0x58/0x68) from [<c04693a8>] (threadRoutine+0x20/0x78) [<c04693a8>] (threadRoutine+0x20/0x78) from [<c00ad0c8>] (kthread+0x80/0x88) [<c00ad0c8>] (kthread+0x80/0x88) from [<c004d408>] (kernel_thread_exit+0x0/0x8) Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu
2013-10-23ENGR00278452 PU: fix system hang if run Audio loop testRobin Gong
cpufreq and pu power management will oprate the same register, it looks should keep them operating in order not concurrent. Then use the cpufreq mutex in xPU driver to make sure. Another code bug is in pu power management which base regulator framework, we set the reister directly not regulator, then there is the chance set_volatage will miss the chance if this time voltage setting as the last time setting before PU disable, but we have to do this, so add regulator_sync_voltage to force sync the voltage setting. The drawback is setting twice... Note: This patch is temporary and supposed to be replaced it once we find the root cause. Signed-off-by: Robin Gong <b38343@freescale.com> Acked-by: Jason Liu
2013-10-15ENGR00275869 wifi: update new rtl8723as wifi driverJianzheng Zhou
Base on rtl8723as driver(v4.1.8_9180.20130927_BTCOEX20130528_ver3.3_beta) still do the following changes for imx6: 1.add imx6 in Makefile. 2.fix suspend/resume issue.Just refactor runtime_pm in suspend. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-10-15ENGR00277333 gpu: Enable OT limitation for gc880Loren HUANG
Enable OT limitation for gc880, without this limitation 3D core may stall system bus when it is running at a very low clock. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Shawn Guo
2013-09-25ENGR00278899: IPU: fix screen black issue on mx6dqRichard Liu
black screen occurs sometimes during 720p recording when wifi display enable and WFD source is HDMI 720p or 1080p output. This patch is a workaround to fix IPU CSC done on IPU0. console log is below when black screen happen: imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_10 = 0x00080000 imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000 imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000 Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Jason Liu
2013-09-18ENGR00278701 use alloc_pages instead of alloc_pages_exactRichard Liu
alloc_pages_exact is added by Vivante in gpu git commit e3debfdf4c3f29519ee66d60ac9b5e4db4c41026. alloc_pages_exact is more easy make memory fragment, video playback and camera recording case need large physical continue memory, using alloc_pages_exact will easy make memory fragment and no large physical continue memory, it will impact video playback and camera case. Signed-off-by: Richard Liu <r66033@freescale.com>
2013-09-12ENGR00278179 query gpu memory with seperate typesXianzhong
In this new implementation, gpu memory can be queried with seperate types, root@sabresd_6dq:/ # ./gmem_info Pid Total Reserved Contiguous Virtual Nonpaged Name 2367 143,845,248 42,575,232 98,124,288 0 3,145,728 /system/bin/surfaceflinger 3870 46,297,952 19,706,720 26,066,944 0 524,288 com.android.email 2794 32,802,656 9,753,952 22,524,416 0 524,288 com.android.inputmethod.latin 2844 21,292,240 20,767,952 0 0 524,288 com.android.launcher 2735 15,037,248 14,512,960 0 0 524,288 com.android.systemui 2658 13,812,480 10,273,536 0 0 3,538,944 system_server 3706 10,759,776 10,235,488 0 0 524,288 com.android.settings 3654 10,742,656 10,218,368 0 0 524,288 com.android.contacts 3725 10,719,552 10,195,264 0 0 524,288 com.android.gallery3d 3793 10,715,456 10,191,168 0 0 524,288 com.android.calendar 3837 10,707,904 10,183,616 0 0 524,288 com.android.mms 3774 10,707,072 10,182,784 0 0 524,288 com.android.calculator2 2370 262,144 0 0 0 262,144 /system/bin/mediaserver ------------------------------------------------------------------------------ 13 337,702,384 178,797,040 146,715,648 0 12,189,696 Summary - - 5,752,336 - - - Availabe Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-30ENGR00277045-1 fix system reboot with video playbackXianzhong
gpu virtual memory cannot be allocated for external use this issue occurs in ARD board with 2G above memory address Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-28ENGR00277003 IPUv3: Update IC RGB2YUV CSC matrix parametersLiu Ying
This patch updates IPUv3 IC RGB to YUV color space conversion matrix's parameters to align with the default VIV GPU CSC implementation so that we may pass relevant Android CTS test cases. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 17b6dbef8eea2051a6c3819f3690c21948bd0e93)
2013-08-27ENGR00275429 Recovery: Screen flashing found when wipe data in recovery modeguoyin.chen
Android Recovery UI framework uses FBIOPUT_VSCREENINFO with yoffset update to update display. Both elcdif and ipuv3 FB will set var.activate to be FB_ACTIVATE_FORCE in driver's probe. User space will get the VSCREENINFO with activate been set to FB_ACTIVE_FORCE. Each FBIOPUT_VSCREENINFO with only yoffset update will make the driver reinit.The activate should be cleared once set_par() been finished. HDMI driver should only reinit hdmi only when the mode changed. fbmem will broadcast MODE_CHANGE for each FBIOPUT_VSCREENINFO ioctl even it only have yoffset update. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-08-23ENGR00274478 fix gpu memory multi-lock failureXianzhong
this issue cause system boot with multi-user switch on JB4.3, root cause is gpu memory cannot be multi-locked in same process, gpu memory lock reference is added to allow multi-lock in kernel driver. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-08-19ENGR00275613 [EVK_6SL]: system crash when boot without 5640 cameraFang Hui
Fixed by add check for cam->sensor Signed-off-by: Fang Hui <b31070@freescale.com>
2013-08-16ENGR00275408 Wifi: fix rtl8723as reopen error issueJianzheng Zhou
We enable WOW mode last commit, it will try to set mmc host's power capability to keep power on at some points. Delete this act which is bond with one force scan action. For we didn't add force scan function in it. We are using runtime_pm feature to trigger scan when doing init. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-08-16Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_4.1.0' into ↵guoyin.chen
imx_3.0.35_android
2013-08-16ENGR00275459 mx6sl: csi/v4l: fix kernel dump when do repeated streamon/streamoffrel_imx_3.0.35_4.1.0_rc3rel_imx_3.0.35_4.1.0Robby Cai
When do stream on/off in pair repeatedly without close the v4l device, the kernel dump happens: Unable to handle kernel paging request at virtual address 00200200 pgd = c0004000 [00200200] *pgd=00000000 Internal error: Oops: 805 [#1] PREEMPT Modules linked in: CPU: 0 Not tainted (3.0.35-06027-gbbea887-dirty #21) PC is at camera_callback+0x15c/0x1c8 LR is at 0x200200 pc : [<c03747d0>] lr : [<00200200>] psr: 20000193 sp : c0b0fed0 ip : 00200200 fp : daf1102c r10: daf11034 r9 : 00100100 r8 : daf11098 r7 : daf11100 r6 : daf11034 r5 : daf11000 r4 : c0b0e000 r3 : 00000000 r2 : 00000001 r1 : 00000001 r0 : daf114b8 Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 8cc8c059 DAC: 00000015 ... Process swapper (pid: 0, stack limit = 0xc0b0e2e8) Stack: (0xc0b0fed0 to 0xc0b10000) fec0: c0374674 822a4000 daf11000 c0b87eb4 fee0: 00000000 00000027 c0b73904 c0b305e0 00000001 c0374090 da2bbbe0 c0b0e000 ff00: 00000000 c00acc58 00000000 c0098058 00989680 c0b305e0 c0b0e000 00000000 ff20: 00000002 00000001 c0b0e000 00000000 00000000 c00acdf8 00000000 c0b0e000 ff40: 9e4e7881 c0b305e0 c0b0e000 c00aee44 c00aed9c c0b43c6c 00000027 c00ac634 ff60: 00000270 c004257c ffffffff f2a00100 00000027 c00417cc 20000000 00000006 ff80: f40c4000 00000000 c0b0e000 c0b6a924 c0b1876c c0b18764 80004059 412fc09a ffa0: 00000000 00000000 c0063a40 c0b0ffc0 c004f758 c0042690 80000013 ffffffff ffc0: c004266c c004294c c0b1013c 00000000 c10960c0 c00088ec c0008334 00000000 ffe0: 00000000 c00337d4 10c53c7d c0b10060 c00337d0 80008040 00000000 00000000 [<c03747d0>] (camera_callback+0x15c/0x1c8) from [<c0374090>] (csi_irq_handler+ 0x7c/0x160) [<c0374090>] (csi_irq_handler+0x7c/0x160) from [<c00acc58>] ( handle_irq_event_percpu+0x50/0x19c) [<c00acc58>] (handle_irq_event_percpu+0x50/0x19c) from [<c00acdf8>] ( handle_irq_event+0x54/0x84) [<c00acdf8>] (handle_irq_event+0x54/0x84) from [<c00aee44>] (handle_fasteoi_irq +0xa8/0x160) [<c00aee44>] (handle_fasteoi_irq+0xa8/0x160) from [<c00ac634>] ( generic_handle_irq+0x2c/0x40) [<c00ac634>] (generic_handle_irq+0x2c/0x40) from [<c004257c>] (handle_IRQ +0x30/0x84) [<c004257c>] (handle_IRQ+0x30/0x84) from [<c00417cc>] (__irq_svc+0x4c/0xa8) [<c00417cc>] (__irq_svc+0x4c/0xa8) from [<c0042690>] (default_idle+0x24/0x28) [<c0042690>] (default_idle+0x24/0x28) from [<c004294c>] (cpu_idle+0x8c/0xc0) [<c004294c>] (cpu_idle+0x8c/0xc0) from [<c00088ec>] (start_kernel+0x294/0x2e4) [<c00088ec>] (start_kernel+0x294/0x2e4) from [<80008040>] (0x80008040) Code: e88c4200 e595c030 e5858030 e8881800 (e58c8000) ---[ end trace 224150c26d2bd5f7 ]--- The root cause is cam->enc_counter is not re-initialized to 0 when calls STREAMOFF ioctl, and then in DQBUF ioctl wait_event_interruptible_timeout() sees the condition is true and access cam->done_q queue which has no strict check and could be empty. This patch adds the re-initialization and the sanity check. Also, add the pointer check for memcpy because the destination may be NULL on UERSPTR mode. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-13ENGR00275011 Make V4L2_PIX_FMT_YUYV visiable as CSI output formatRobby Cai
V4L2_PIX_FMT_YUYV is the original format from camera and the source format for CSI. This format may be needed on Android to do CSC before encoding. We can now choose V4L2_PIX_FMT_YUYV or V4L2_PIX_FMT_UYVY for the CSI output format. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-13ENGR00215174 wifi:fix rtl8723as suspend resume fail issueJianzheng Zhou
Fix "Timeout Waiting for Hardware Interrupt on mmc1" issue in suspend/resume which is caused by not keep power in host. Enable WOW mode in card side to enable MMC_KEEP_POWER capability of host will tackle this issue. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-08-14ENGR00274782 fixed gpu crash when baseAddress is not 0 or 2GXianzhong
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
2013-08-12Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_4.1.0' into ↵guoyin.chen
imx_3.0.35_android
2013-08-08ENGR00274493 mx6sl: csi/v4l: Fix capture incorrect data with format UYVYrel_imx_3.0.35_4.1.0_rc2Robby Cai
There's an interim buffer which should only be used when PxP CSC is used. Otherwise the video buffer gets incorrect data by copying the content of interim buffer. The patch fixes this by moving the memcpy to the right place. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit 8e0b8ff485dd7cdeabc653f1e27c271ac923710e)
2013-08-08ENGR00273432 DMA: imx-sdma: Allocate 4KB iram page size for bdNicolin Chen
One bd actually needs 4KB page size. So changed the iram_alloc() size parameter to allocate a precise iram memory for bd. This patch also removed the extra iram pool for SDMA due to its insufficient total size: SDMA allows around 48 channels to work simultaneously, so it's better to allocate memory from iram pool directly. [There will be 3KB size waste in sdma->channel_control, which is 640B but actually using 4KB due to 4KB alignment for iram pool.] Acked-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-08-08ENGR00273973-1 Revert "ENGR00270573-2 [MX6SL]Add support for dynamic Power GatiRobby Cai
This reverts commit 881e21c1275dcc40ccd63fb4fa46b990eeb4fb00. With the commit 881e21c1 and 7b60e285, the system will hang when do suspend and resume stress test continuouly while run edpc test in the background. Revert it now and revisit it later. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-07-25Merge remote-tracking branch 'fsl-linux-sdk/imx_3.0.35_4.1.0' into ↵guoyin.chen
imx_3.0.35_android
2013-07-25ENGR00270573-2 [MX6SL]Add support for dynamic Power Gating of the display MIXRanjani Vaidyanathan
The display MIX can be power gated when EPDC, PXP and LCDIF are all inactive. This will save around 1.5mW-1.8mW of power in system IDLE mode. Need to re-initialize the EPDC and PXP whenever the display MIX is powered up as all the register state is lost when the display MIX is power gated. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2013-07-22ENGR00272031 Lcdif FB:Add timestamp in MXCFB_WAIT_FOR_VSYNC's return valueguoyin.chen
Android Framework need the timestamp from VSYNC to driver the UI update Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-07-19ENGR00271566 usb: otg: comment otg_statemachine which we do not needPeter Chen
We have not implemented fully OTG support, so we can't call otg_statemachine since the state machine may incorrect at current dual-role switch design. At existed code, it will call otg_statemachine, in fact, it doesn't need. Besides, it causes one kernel dump at Sabreauto board due to it calls gpio API at spin lock, but at Sabreauto board the USB power GPIO is expanded by MAX7310 which calls i2c read/write and will schedule itself. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-07-19ENGR00271827 wireless:add rtl8723as supportJianzheng Zhou
Add wifi driver for rtl8723as. Need change some cfg80211 config for it also. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-07-18ENGR00271053-3 mx6sl: csi/v4l2: remove PAGE_ALIGN for image size calculationRobby Cai
The driver should inform the upper-lever application the exact size of the image. PAGE_ALIGN macro should be removed. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-07-18ENGR00271053-2 mx6sl: csi/v4l2: add strict check for crop settingRobby Cai
add the strict check for crop setting in S_CROP ioctl Signed-off-by: Robby Cai <R63905@freescale.com>
2013-07-18ENGR00271053-1 mx6sl: csi/v4l2: add cropcap ioctl supportRobby Cai
- add the CROPCAP ioctrl support Signed-off-by: Robby Cai <R63905@freescale.com>
2013-07-18ENGR00271679-2 Add SoloLite into Android JB releaseguoyin.chen
Fix the build error in csi capture Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-07-18ENGR00271609 mmc: correct the wrong calculation of the boot sizeRichard Zhu
The original calculation of the boot size is wrong. Fix it by the right calculation. Signed-off-by: Richard Zhu <r65037@freescale.com>
2013-07-18ENGR00271577 sdma: fix the compiling warningHuang Shijie
In the imx6sl, we meet the compiling warning shows below: -------------------------------------------------------------------- drivers/dma/imx-sdma.c: In function Pleasesdma_iram_free: drivers/dma/imx-sdma.c:366: warning: passing argument 2 of Pleasegen_pool_free makes integer from pointer without a cast include/linux/genalloc.h:58: note: expected Pleaselong unsigned integer but argument is of type Pleaselong unsigned int *Please drivers/dma/imx-sdma.c: In function Pleasesdma_load_script: drivers/dma/imx-sdma.c:452: warning: passing argument 2 of Pleasesdma_iram_malloc makes pointer from integer without a cast drivers/dma/imx-sdma.c:352: note: expected Pleaselong unsigned int *Please but argument is of type Pleaselong unsigned integer drivers/dma/imx-sdma.c:475: warning: passing argument 1 of Pleasesdma_iram_free makes pointer from integer without a cast drivers/dma/imx-sdma.c:361: note: expected Pleaselong unsigned int *Please but argument is of type Pleasedma_addr_t drivers/dma/imx-sdma.c: In function Pleasesdma_request_channel: drivers/dma/imx-sdma.c:942: warning: passing argument 2 of Pleasesdma_iram_malloc makes pointer from integer without a cast drivers/dma/imx-sdma.c:352: note: expected Pleaselong unsigned int *Please but argument is of type Pleaselong unsigned integer drivers/dma/imx-sdma.c: In function Pleasesdma_free_chan_resources: drivers/dma/imx-sdma.c:1109: warning: passing argument 1 of Pleasesdma_iram_free makes pointer from integer without a cast drivers/dma/imx-sdma.c:361: note: expected Pleaselong unsigned int *Please but argument is of type Pleasedma_addr_t drivers/dma/imx-sdma.c: In function Pleasesdma_init: drivers/dma/imx-sdma.c:1505: warning: passing argument 2 of Pleasesdma_iram_malloc from incompatible pointer type drivers/dma/imx-sdma.c:352: note: expected Pleaselong unsigned int *Please but argument is of type Pleasedma_addr_t *Please -------------------------------------------------------------------- this patch fixes it. Signed-off-by: Huang Shijie <b32955@freescale.com>