18 Sep, 2017
2 commits
-
On i.MX6ULL EVK board, when the overdrive mode(900MHz/800MHz) is
enable, the DC regulator voltage should not be changed. Keep the
DC regulator to default 1.4V.Signed-off-by: Bai Ping
(cherry picked from commit e4b51b651ae95226c0ae0447673c64b23b079ee6)Conflicts:
drivers/cpufreq/imx6q-cpufreq.c -
From MX7D Fuse Map v2.9, the thermal grade register is 0x440[7:6],
not 0x480[7:6] as before.Fixes: 2045abb4391a ("MLK-11518-01 thermal: imx: add thermal support for imx7")
Reviewed-by: Bai Ping
Signed-off-by: Dong Aisheng
(cherry picked from commit add734018577b490840e1d19c2640bcad0e4bda9)
08 Sep, 2017
1 commit
-
stays at boot animation at all time when run monkey test
When running monkey test, it may sometimes system freeze or stay
at boot animation and dmesg showed dhd_hang issue caused it.There is dead lock among 3 threads :
"Workqueue: events dhd_deferred_work_handler",
"Workqueue: ipv6_addrconf addrconf_verify_work",
and "wpa_supplicant D 0 13877 1 0x00000005"
1.Thread wpa_supplicant holds the lock rtnl_lock(), and waiting for the
workqueue dhd_deferred_work_handler finished when trying to cancel it.
2.Thread workqueue dhd_deferred_work_handler pending on waiting rtnl_lock().
3.Thread ipv6_addrconf also pending on waiting rtnl_lock().So release lock(which hold in devinet_ioctl() ) when wpa_supplicant
trying to cancel the workqueue in dhd_stop().Change-Id: I8ab38854907d56ad1bf9b238d70f62e37b1d25d4
Signed-off-by: Tian Yang
04 Sep, 2017
1 commit
-
Meet gpu mutex lock up when run android CTS, need call mutex_unlock()
if MapUser report any error.When the issue happen there is "Show Blocked State" log in console,
also can use "echo w > /proc/sysrq-trigger" to check, all threads are
waiting at mutex_lock().Date: Sep 04, 2017
Signed-off-by: Richard Liu
01 Sep, 2017
3 commits
-
There was no pxp background register setting, so the
background we see always black.Signed-off-by: Guoniu.Zhou
Reviewed-by: Robby Cai -
In order to make sure that get the regulator correctly.
Check the return value of devm_regulator_get().
Return value directly if it is '-EPROBE_DEFER'Signed-off-by: Richard Zhu
(cherry picked from commit 25df25ae44f4d9799c49476516a955b66d5ea9dc) -
Add device node more property to support multiple panel.
Signed-off-by: Fugang Duan
23 Aug, 2017
1 commit
-
After merge kernel, cannot see NavigationBar and video playback is not scaled.
Related with MLK-16217: PXP: fix pxp rotate yuv formate video issue commit.
Roll back to previous logic.Signed-off-by: juan.hao
22 Aug, 2017
1 commit
-
Conflicts:
arch/arm/boot/dts/imx6sx-sabreauto.dts
18 Aug, 2017
1 commit
-
Because of IC limitation, pxp only can use rotation0 engine to
do rotation operation.Correct coordinate settings of ps and out buffer.
Signed-off-by: Guoniu.Zhou
Reviewed-by: Robby Cai
Reviewed-by: Fancy Fang
17 Aug, 2017
1 commit
-
set WFE (WFE_A on imx7d, and WFE_B on imx6ull/imx6sll) input address to
framebuffer start address, and set left/top coordinate since the framebuffer is
the original source of WFE (i.e., not from PXP output) when bypass legacy mode.
The patch also limits the condition to bypass legacy mode when not use
EPDC_FLAG_USE_ALT_BUFFER.Signed-off-by: Robby Cai
(cherry picked from commit 7f19940705902623166777c675f5e10c9e7fc477)
08 Aug, 2017
1 commit
-
when gpu memory is from virtual system pool, the physical address
will become invalid, driver should enable mmu mapping accordingly.but current kernel driver return the zero address with default value,
this mistake will cause gpu write into the wrong memory from zero.this fix mark the invalid address for the virtual memory.
Date: Aug 06, 2017
Signed-off-by: Xianzhong
Reviewed-by: Yuchou Gan
Reviewed-by: Yong Gan
Tested-by: Jason Liu
04 Aug, 2017
1 commit
-
For HannStar (HSD100PXN1 Rev: 1-A00C11 F/W:0634) LVDS touch screen,
it has a special request for the EETI touch controller. The host
needs to trigger I2C event to device FW at booting first, and then
the FW can switch to I2C interface. Otherwise, the FW can’t work
with I2C interface, and can't generate any interrupt when touch
the screen.This patch send an I2C command before the device wake up, make sure
the device switch to I2C interface first.Signed-off-by: Haibo Chen
Reviewed-by: Andy Duan
(cherry picked from commit 037f88c1b9566008748d54b9d4feb647c38c6153)
26 Jul, 2017
1 commit
-
Add port.lock to protect register accessing in suspend/resume function.
Disable RIE and ILIE before DMA chan is ternminated in suspend function.Signed-off-by: Fugang Duan
(cherry picked from commit: 51f874a9205cbcbbdb55642f5502bf18aaf245bd)
25 Jul, 2017
3 commits
-
Add port.icount to stat. the DMA RX received count.
Signed-off-by: Fugang Duan
Reviewed-by: Robin Gong
(cherry picked from commit: 9580def59011d50312cd722eddaf681388064230) -
When use lpuart with DMA mode as wake up source, it still switch to
cpu mode in .suspend() that enable cpu interrupts RIE and ILIE as
wakkup source. When the wakeup signal coming while rx dma chan is
already teminated down, then driver should not call irq handler to
submit the new dma descriptor.Enable the wakeup irq bits in .suspend_noirq() and disable the wakeup
irq bits in .resume_noirq().Signed-off-by: Fugang Duan
-
When do epdc colormap test, the epdc need pxp lut function. But
if the data flow through mux0->mux1...or mux0->mux2..., the pxp
can not trigger interrupt but mux0->mux3... can. This issue only
occures on imx7d, so I set a constant data path when using lut function.Signed-off-by: Guoniu.Zhou
(cherry picked from commit 8c8fc765c34f2e6fe31646a5f216f30e3391f2e6)
20 Jul, 2017
2 commits
-
Cannot open Develop options->show surface updates on 6sx and 6sx_auto.
Although imx6sx-sabreauto.dts settings is:
display1: display {
bits-per-pixel = ;
bus-width = ;
+ fbpix = "ABGR32";
But the framebuffer format is RGB24 not ABGR32. This is because lack logic
when bus-width is 18.Change-Id: I2ea7ada3e8e124f361979383404a3602a7f0fa0a
-
After the chipidea driver introduce extcon for id and vbus, it's able
to wakeup from another irq source, in case the system with extcon ID
cable, wakeup from usb ID cable and device removal, the usb device
disconnect irq may come firstly before the extcon notifier while system
resume, so we will get 2 "wakeup" irq, one for usb device disconnect;
and one for extcon ID cable change(real wakeup event), current driver
treat them as 2 successive wakeup irq so can't handle it correctly, then
finially the usb irq can't be enabled. This patch adds a check to bypass
further usb events before controller resume finished to fix it.Reviewed-by: Peter Chen
Signed-off-by: Li Jun
19 Jul, 2017
1 commit
18 Jul, 2017
1 commit
-
Fix cts android.app.uiautomation.cts.UiAutomationTest#testWindowContentFrameStats fail.
This case check fence getSignalTime, which is get from fence->timestamp.
If use kmalloc, timestamp value is not guaranteed and can't be updated during fence_signal.Date: Jul 17, 2017
Signed-off-by: juan.hao
Change-Id: Iaf33215f675cd52a90bf0ad60c2a129d192825c4
17 Jul, 2017
1 commit
-
Merge and revert BSP commit cause this issue.
Change YUV conversion to YCBCR to fix this issue.Change-Id: I350e8c0a9132b4ce6def4aa6cee79e591591e1bc
Signed-off-by: ivan.liu
14 Jul, 2017
4 commits
-
PxP block on imx6sll, imx6ull is different with imx7d, the node
path_ctrl should be different. So add path_ctrl for 6sll, 6ull.Signed-off-by: Guoniu.Zhou
(cherry picked from commit a5952396dc88856d53a1fd1d150bae301c13d403) -
This reverts commit a9423b181466e7b0a09ae9b697ae9e140292af71.
-
This reverts commit eabcafbe1765c04211cf46a2395505af80a45519.
-
…d8b211839d963889dbbe2b0aa3ae11
13 Jul, 2017
14 commits
-
Remove variant restriction for DCP SHA workaround. All integrations of
DCP seem affected.Signed-off-by: Radu Solea
-
Revert "leds: handle suspend/resume in heartbeat trigger"
This reverts commit 5ab92a7cb82c66bf30685583a38a18538e3807db.
System cannot enter suspend mode because of heartbeat led trigger.
In autosleep_wq, try_to_suspend function will try to enter suspend
mode in specific period. it will get wakeup_count then call pm_notifier
chain callback function and freeze processes.
Heartbeat_pm_notifier is called and it call led_trigger_unregister to
change the trigger of led device to none. It will send uevent message
and the wakeup source count changed. As wakeup_count changed, suspend
will abort.Change-Id: I90301b7f65d8074d31a3d682acca4a2363c3aa63
Signed-off-by: Zhang Bo -
This reverts commit 809f51e0f4ea79572226fcfbc966f194871c14ca.
Change-Id: I1a6522cdd206f5270ab74e31fac50fb3ad9c6de6
-
…d963889dbbe2b0aa3ae11
Conflicts:
drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.config -
…d963889dbbe2b0aa3ae11
-
replace width with pitch to calculate UV offset.
android yuv format is ycbcr kind.
swap YUV->RGB coeffcients to adapt to android format.Change-Id: I3d219c9c927cc177a6fa8b2eb5dd0b795909295b
Signed-off-by: ivan.liu -
After soft reset, the irq register value will be zero, so we need set it to enable
all pxp interrupts.Signed-off-by: Guoniu.Zhou
-
add flip_complete to make sure frame update correctly.
It references to pan display code.Change-Id: I1a24e5dbe2c3942c6c0411fb0a80c5a08c937cb4
Signed-off-by: ivan.liu -
add a property in dts called 'fbpix' to assign the pixel format for framebuffer.
note 'bits-per-pixel' has priority over 'fbpix', so please set them in pair.
if 'bits-per-pixel' is set to 16 and no 'fbpix' is set, defaults to RGB565.example for 32bit setting (tested on i.mx7d):
display0: display {
- bits-per-pixel = ;
+ bits-per-pixel = ;
bus-width = ;
+ fbpix = "ABGR32";Signed-off-by: Robby Cai
-
Add mxcfb_update_screen interface to LCDIF and IPU FB driver.
To support update screen with buffer allocation from user space.
It is required by Android Gralloc1 and HWC2 interface.Change-Id: I7b60069fd82cbfe52ced17771ae5a39d67cd7869
Signed-off-by: ivan.liu -
suspend and resume system for around 4 hours. 2/2
When try to suspend and resume and playback video or audio at the same time,
Power HAL will switch governor between conservative and interactive.Before cpufreq swtich to conservative governor, it will stop interactive
governor(in function: cpufreq_interactive_stop) and set "icpu->ipolicy = NULL;".
If the cpufreq_interactive_speedchange_task doesn't exit and run at the
same time, it try to get "policy = icpu->ipolicy->policy;". It will cause
system panic. Need to check pointer validatation before read.Change-Id: I608969370738130c44b1816f073423d509a3bcd7
Signed-off-by: Zhang Bo -
…d963889dbbe2b0aa3ae11
-
…d963889dbbe2b0aa3ae11
Conflicts:
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
drivers/video/fbdev/mxc/mxsfb_sii902x.c -
system can't enter suspend when enable led heartbeat.
pm will call heartbeat_pm_notifier when suspend.
system will prepare led states, and led_trigger_unregister
will use led_trigger_set to set trigger.
kobject_uevent_env will send event,it will call ep_poll_callback
to hold a wakeup source if we enable wakelock in kernel.
So that system can't enter suspend.If we set led device tigger to NONE, there is not need to
send notification to user space.Change-Id: I9f7ee5764d7e31b9a225dae5517cb36137675f9d
Signed-off-by: zhang sanshan
Signed-off-by: Zhang Bo