05 Mar, 2021
1 commit
-
Change-Id: I9dd6b8dd4ff1d25608a9264ecc1facb2df649818
04 Mar, 2021
5 commits
-
On 8DXL, the LCDIF IRQ number is different from 8QXP, so fix it in the
specific 8dxl dts file.Signed-off-by: Robert Chiras
Reviewed-by: Laurentiu Palcu
Acked-by: Jason Liu -
Without this patch, G_REC601_NTSC and NL_REC709 are used by opipe
with 480/576/240/288 height for default colorimetry. However, for those
kinds of opipe configurations, there is no valid entry to be found in
dcss_cfg_table[] if ipipe uses framebuffer in 32bit RGB pixel formats and
YUV pixel formats, which eventually leads to atomic check failure.
To make those cases work, this patch uses G_REC709 and NL_REC709 for
opipe as a workaround.Signed-off-by: Laurentiu Palcu
Reviewed-by: Liu Ying
Acked-by: Jason Liu -
Initialize to zero all ioctl_compat converted structures in fsl_usdpaa
Signed-off-by: Florinel Iordache
-
Initialize to zero ceetm sp_set_lni configuration structure in qman_high
Signed-off-by: Florinel Iordache
-
According to the latest DC ADD(DisplayControllerSubsystem_MX8_B0_v0.58),
the DPR burst length of GPU standard tile should be 256byte or 512byte
in case of underrun with 256byte.Based on tests done by Android team, 256byte works without DC underrun
issue(tracked by errata "ERR050183: DC: 4Kp60 performance limitations")
on both i.MX8qm and i.MX8qxp, while with the underrun issue by using
the original 128byte burst length.So, this patch uses 256byte burst length first for GPU standard tile
since there should be only improvement and no downgrade or regression
(subject to change to 512byte in case of underrun).Signed-off-by: Liu Ying
Tested-by: Richard Liu
03 Mar, 2021
1 commit
-
On the remove path, there is a need to teardown the IRQs and disconnect
from the PHY only if the DPMAC is not in TYPE_FIXED.
Update the remove path so that we do not end up accesing an invalid MC
portal.Signed-off-by: Ioana Ciornei
02 Mar, 2021
2 commits
-
android display hal has refined the logic to use block commit when
there is overlay but without android out fence. This android out
fence patch can be reverted now.Revert "MA-14133 Enable android out fence and normal out fence simultaneously"
This reverts commit d5d94e0e13b5bdf8b3ab4f60341e00898bbaf3c2.
Change-Id: I8ef48ba46350324965e055e5314c837472aead6d
Signed-off-by: Richard Liu -
…s wrong and text becomes unreadable if use user build images
don't re-init the console port when resume from suspend if have no sh.
Don't startup the console port when user space has no bash environment
than getty service cannot start up.This patch save the early console configure to tty->termios.c_cflag.
reset the uart according the saved info when startup.Change-Id: I62ece4f6fc866d59e557722144e49b07de6b4179
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Tested-by: zhang sanshan <sanshan.zhang@nxp.com>
01 Mar, 2021
1 commit
-
- M865SW-681: VSI V4L2 Engineer release package 20210226
M865SW-595: [VPU/V4L2] report hdr10 metadata to userspace
M865SW-608: [VPU/V4L2] decoder: enumerate CAPTURE formats according to the currently established coded format
M865SW-655: [VPU/V4l2] Refine assert reference for Android build
M865SW-663: [VPU/V4L2] decoder: app can't receive codec error event
M865SW-668: [VPU/V4L2] daemon: update vsidaemon ts manager to fix Android GTS issue
M865SW-671: [VPU/V4L2] decoder: seek a resolution changed vp9 stream meet decoding error
M865SW-676: [VPU/V4L2] decoder: please add new formats into verfiyPlanesize()
M865SW-678: [VPU/V4L2] decoder: please add 10bit depth into vsiv4l2_decidepixeldepth()
M865SW-572: [VPU/V4L2] decoder/encoder: one frame stream can't receive EOS
M865SW-674: [VPU/V4L2] the dtrc and dtrx output is incorrect when decoding 10bit streamSigned-off-by: Zhou Peng
Change-Id: I61a196742dade4255c806b0549da77d9d261d32e
26 Feb, 2021
1 commit
-
Initialize to zero all ceetm configuration and query structures in qman_high
Signed-off-by: Florinel Iordache
25 Feb, 2021
1 commit
-
This patch adds "sai1","sai2" and "arm_m4_core" related to LPA clock skips registering the root slice
of gate ops, if M4 is enabled. The added clock is required for 8mm LPA.After testing and adding these clocks, the power consumption did not increase significantly.
Change-Id: Ib61df341631d1353fada91353af301487ffeec41
Signed-off-by: zhipeng.wang
23 Feb, 2021
8 commits
-
Move media, hdmi and audio blk ctrl data from clk-imx8mp
to clk-blk-ctrl driver to fix below kernel dump met when built as module:[ 1.909525][ T1] init: Loading module /lib/modules/clk-blk-ctrl.ko with args ""
[ 1.918640][ T1] Unable to handle kernel paging request at virtual address ffffffc0118a9b54
[ 1.927265][ T1] Mem abort info:
[ 1.930764][ T1] ESR = 0x96000007
[ 1.934528][ T1] EC = 0x25: DABT (current EL), IL = 32 bits
[ 1.940542][ T1] SET = 0, FnV = 0
[ 1.944299][ T1] EA = 0, S1PTW = 0
[ 1.948142][ T1] Data abort info:
[ 1.951719][ T1] ISV = 0, ISS = 0x00000007
[ 1.956256][ T1] CM = 0, WnR = 0
[ 1.959927][ T1] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000041de3000
[ 1.967329][ T1] [ffffffc0118a9b54] pgd=00000001bffff003, p4d=00000001bffff003, pud=00000001bffff003, pmd=00000001bfffc003, pte=0000000000000000
[ 1.980570][ T1] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[ 1.986840][ T1] Modules linked in: clk_blk_ctrl(+) imx2_wdt imx gpio_mxc pinctrl_imx8mp pinctrl_imx irq_imx_irqsteer busfreq_imx8mq timer_imx_sysctr
[ 2.000527][ T1] CPU: 3 PID: 1 Comm: init Not tainted 5.10.9-00012-g9da899adc4fd #10
[ 2.008530][ T1] Hardware name: NXP i.MX8MPlus EVK board (DT)
[ 2.014542][ T1] pstate: 20400005 (nzCv daif +PAN -UAO -TCO BTYPE=--)
[ 2.021254][ T1] pc : imx_blk_ctrl_probe+0x68/0x414 [clk_blk_ctrl]
[ 2.027702][ T1] lr : imx_blk_ctrl_probe+0x68/0x414 [clk_blk_ctrl]
[ 2.034142][ T1] sp : ffffffc011b6b860
[ 2.038153][ T1] x29: ffffffc011b6b890 x28: ffffffc011b6bda0
[ 2.044164][ T1] x27: 0000000000000100 x26: ffffffc008f05190
[ 2.050175][ T1] x25: ffffff80c3a5e430 x24: 0000000000000010
[ 2.056187][ T1] x23: ffffffc011b15000 x22: ffffffc0119fc510
[ 2.062198][ T1] x21: ffffff80c3b23e80 x20: ffffff80c0915400
[ 2.068211][ T1] x19: ffffff80c0915410 x18: ffffffc011b550a0
[ 2.074225][ T1] x17: 0000000000000031 x16: ffffffc012361000
[ 2.080238][ T1] x15: ffffffc012350000 x14: 0000000000000086
[ 2.086249][ T1] x13: 0000000000000042 x12: 0000000000000000
[ 2.092260][ T1] x11: fffffffefe6880a1 x10: fffffffefe6880a0
[ 2.098271][ T1] x9 : 0000000100000000 x8 : 0000000100000000
[ 2.104282][ T1] x7 : 01fefefefefefeff x6 : 8080808080808000
[ 2.110293][ T1] x5 : 0080808080808080 x4 : 6e6f63737973ffff
[ 2.116305][ T1] x3 : 6701000008000000 x2 : 0300000000000000
[ 2.122319][ T1] x1 : 0000000000000000 x0 : ffffffc0118a9b40
[ 2.128332][ T1] Call trace:
[ 2.131480][ T1] imx_blk_ctrl_probe+0x68/0x414 [clk_blk_ctrl]
[ 2.137579][ T1] platform_drv_probe+0x94/0xbc
[ 2.142285][ T1] really_probe+0x1d4/0x4b4
[ 2.146646][ T1] driver_probe_device+0x64/0xb8
[ 2.151439][ T1] device_driver_attach+0x6c/0xacSigned-off-by: Jindong Yue
Change-Id: Ib7e00602734cfe3465641f7d37ebd4e59b7ea563 -
Allow i.mx8m power domain driver to be loaded as module.
Do not select IMX8M_PM_DOMAINS by default after enable ARCH_MXC.Signed-off-by: Jindong Yue
Change-Id: I19c9978762136d1a6314ffcb3545536ae2598faa -
Add CONFIG_SOC_IMX_MU to control whether build this driver.
Add module license and description to support building it as module.Default set it to y for ARCH_MXC && ARM64
Signed-off-by: Jindong Yue
Change-Id: I8970f264cfddbb4407e223dc8e51065ac7f77b0c -
Modify config as tristate and add module license to support
building imx8m soc driver as module.Signed-off-by: Jindong Yue
Change-Id: Ia441670abc7ebae4fd931006b010b2822815ff85 -
Revert "MA-18223-4 Cannot access /sys/class/thermal/thermal_zoneX/temp on 8mp"
This reverts commit d92b2486d24c07fa31adb7b9c4a1c0c048f81633.this patch is not needed now, we have enable runtime cpu hotplug in Thermal hal
Change-Id: Ic70491573d6401498639d2c02a0433b76e15cf3e
-
In sdhci_esdhc_imx_remove() the SDHCI_INT_STATUS in read. Under some
circumstances, this may be done while the device is runtime suspended,
triggering the below splat.Fix the problem by adding a pm_runtime_get_sync(), before reading the
register, which will turn on clocks etc making the device accessible again.[ 1811.323148] mmc1: card aaaa removed
[ 1811.347483] Internal error: synchronous external abort: 96000210 [#1] PREEMPT SMP
[ 1811.354988] Modules linked in: sdhci_esdhc_imx(-) sdhci_pltfm sdhci cqhci mmc_block mmc_core [last unloaded: mmc_core]
[ 1811.365726] CPU: 0 PID: 3464 Comm: rmmod Not tainted 5.10.1-sd-99871-g53835a2e8186 #5
[ 1811.373559] Hardware name: Freescale i.MX8DXL EVK (DT)
[ 1811.378705] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[ 1811.384723] pc : sdhci_esdhc_imx_remove+0x28/0x15c [sdhci_esdhc_imx]
[ 1811.391090] lr : platform_drv_remove+0x2c/0x50
[ 1811.395536] sp : ffff800012c7bcb0
[ 1811.398855] x29: ffff800012c7bcb0 x28: ffff00002c72b900
[ 1811.404181] x27: 0000000000000000 x26: 0000000000000000
[ 1811.409497] x25: 0000000000000000 x24: 0000000000000000
[ 1811.414814] x23: ffff0000042b3890 x22: ffff800009127120
[ 1811.420131] x21: ffff00002c4c9580 x20: ffff0000042d0810
[ 1811.425456] x19: ffff0000042d0800 x18: 0000000000000020
[ 1811.430773] x17: 0000000000000000 x16: 0000000000000000
[ 1811.436089] x15: 0000000000000004 x14: ffff000004019c10
[ 1811.441406] x13: 0000000000000000 x12: 0000000000000020
[ 1811.446723] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 1811.452040] x9 : fefefeff6364626d x8 : 7f7f7f7f7f7f7f7f
[ 1811.457356] x7 : 78725e6473607372 x6 : 0000000080808080
[ 1811.462673] x5 : 0000000000000000 x4 : 0000000000000000
[ 1811.467990] x3 : ffff800011ac1cb0 x2 : 0000000000000000
[ 1811.473307] x1 : ffff8000091214d4 x0 : ffff8000133a0030
[ 1811.478624] Call trace:
[ 1811.481081] sdhci_esdhc_imx_remove+0x28/0x15c [sdhci_esdhc_imx]
[ 1811.487098] platform_drv_remove+0x2c/0x50
[ 1811.491198] __device_release_driver+0x188/0x230
[ 1811.495818] driver_detach+0xc0/0x14c
[ 1811.499487] bus_remove_driver+0x5c/0xb0
[ 1811.503413] driver_unregister+0x30/0x60
[ 1811.507341] platform_driver_unregister+0x14/0x20
[ 1811.512048] sdhci_esdhc_imx_driver_exit+0x1c/0x3a8 [sdhci_esdhc_imx]
[ 1811.518495] __arm64_sys_delete_module+0x19c/0x230
[ 1811.523291] el0_svc_common.constprop.0+0x78/0x1a0
[ 1811.528086] do_el0_svc+0x24/0x90
[ 1811.531405] el0_svc+0x14/0x20
[ 1811.534461] el0_sync_handler+0x1a4/0x1b0
[ 1811.538474] el0_sync+0x174/0x180
[ 1811.541801] Code: a9025bf5 f9403e95 f9400ea0 9100c000 (b9400000)
[ 1811.547902] ---[ end trace 3fb1a3bd48ff7be5 ]---Signed-off-by: Frank Li
Cc: stable@vger.kernel.org # v4.0+
Link: https://lore.kernel.org/r/20210210181933.29263-1-Frank.Li@nxp.com
[Ulf: Clarified the commit message a bit]
Signed-off-by: Ulf Hansson -
When M4 boots from flexspi, linux should not use that, otherwise
M4 will hang.Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
(cherry picked from commit 1f49d90ebaf77492bcb2e9f8a8e5a8d4d7aee58a)
Acked-by: Jason Liu -
when killing the vlan, the rx_clk from the phy need to be enabled.
The patch checks the phy's status before killing the vlan. If the phy
is stopped, enable it, remove the vlan, and then stop the phy.Reviewed-by: Frank Li
Signed-off-by: Shenwei Wang
Acked-by: Jason Liu
22 Feb, 2021
1 commit
-
Fix a Coverity issue in lnxwrp_sysfs_fm: invalid type in argument to printf format specifier for phys_addr_t
Signed-off-by: Florinel Iordache
21 Feb, 2021
3 commits
-
Handle HDCP_STATE_INACTIVE and HDCP_STATE_DISABLING state priority
to avoid unnecessary HPD state check, drm has check it when hdcp
enable/disable.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai
Acked-by: Jason Liu -
FW alive check function may return false in hdcp enable/disable stress test.
Add more time for FW alive check, make sure get correct state.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai
Acked-by: Jason Liu -
Polling thread check_work is designed to handle all hdcp state change.
In HDCP disable function, check_work thread will be stopped after
hdcp.state is set to HDCP_STATE_DISABLING. check_work thread may miss
the state change, call check link function make sure HDCP_STATE_DISABLING
state is properly handled.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai
Acked-by: Jason Liu
19 Feb, 2021
2 commits
-
The patch fixed NetdNamespaceTest#CheckNoUserNamespaceSupport
case fail in netd_integration_test.The case test kernel configuration option CONFIG_USER_NS=n
Change-Id: I63f3d82fcaf57ee562e4b4cb0f4f004860b9c407
Signed-off-by: yang.tian -
Add CONFIG_CRYPTO_MD5 kerenl defconfig.
TEST: VTS module vts_kernel_net_tests pass.
Change-Id: Ib487c221dddac48b6b43fb04be89c0849ebd5058
Signed-off-by: yang.tian
07 Feb, 2021
1 commit
-
- M865SW-664: VSI V4L2 Engineer release package 20210205
M865SW-511: [VPU/V4L2] decoder: add extr v4l2 event to report 'PIC_CONSUMED' buffer
M865SW-554: [VPU/V4L2] decoder: decoder return wrong timestamp because of wrong consumed length
M865SW-595: [VPU/V4L2] report hdr10 metadata to userspace
M865SW-608: [VPU/V4L2] decoder: enumerate CAPTURE formats according to the currently established coded format
M865SW-648: [VPU/V4L2] encoder: streamoff failed in VSI_STATUS_INIT state
M865SW-654: [VPU/V4L2] Extend maximum h265 level to 5_2
M865SW-655: [VPU/V4l2] Refine assert reference for Android build
M865SW-659: [VPU/V4L2] Android meet dead waiting in open video device if rootfs does exists vsidaemon
M865SW-523: [VPU/V4L2] decoder: correctly handle stream file that contained codec data only
M865SW-572: [VPU/V4L2] decoder/encoder: one frame stream can't receive EOS
M865SW-644: [VPU/V4L2] decoder: can't recover to capture on state if stop cmd comes earlier than capture on cmdSigned-off-by: Zhou Peng
Change-Id: I3de0c8a409e2cd9f7334369442c8d037da2471b2
05 Feb, 2021
1 commit
-
CONFIG_DEBUG_FS is not allowed in user build mode
from below file: kernel/configs/android-5.10/non_debuggable.configSigned-off-by: Jindong Yue
Change-Id: I6fd9e74808d4a96e33d5cca748b0f6dd2bab88e8
04 Feb, 2021
2 commits
-
In watchdog_reboot_notifier, wdd should be stopped when the device
is in hw_running stateSigned-off-by: Zhao Qiang
-
Fix a Coverity issue in fm: invalid type in argument to printf format specifier for dma_max_watchdog
Signed-off-by: Florinel Iordache
03 Feb, 2021
2 commits
-
camera hal will enum all /dev/video* node, it will hang at line 548 when visit
vpu enc/dec node(it will hang in case call_usermodehelper failed)
/vendor/bin/vsidaemon do not exist on android11-2.0.0 releaseChange-Id: I28efdfebbb73c7a4a2d809ba02529bc9778383cc
Signed-off-by: zhang sanshan -
Add the missing pmu node and also fix the issue with kvm that it
requires pmu node to be present.Signed-off-by: Li Yang
Acked-by: Diana Craciun
02 Feb, 2021
1 commit
-
Mailbox driver needs to wait and read all the words in response to a
SCFW API call, else the protocol gets messed up and results in kernel hang.
When the responses are longer than 3 words its possible that SCFW will
take some time to fill up the rest of the words in the MU, a timeout of
100us is arbritrary and too short. While waiting for Linux to consume the
first 3 words of the response SCFW can be busy doing other stuff and hence
Linux needs to wait for the rest of the words.
Similar restriction applies when writing messages that are longer than
3 words.
This patch increases the timeout to 5secs while waiting for response
or writing long messages to SCFW.Signed-off-by: Ranjani Vaidyanathan
01 Feb, 2021
5 commits
-
- VSI v1.4.1 20210129 formal release
Change List (compare with v1.4):
Regenerating code to make modules' boundary clearer.
Adjust license declaration to meet NXP requirement. Passed NPX's license check.
Remove unused code from project or release.
Clean up code style to get conformant to kernel spec(driver) or google (daemon).
Better support of AVS and RV format in unit test.
Better support of 10-bit decoding.
Save bandwidth by reducing data transfer number.
Add extra event for communication between driver and application.
Resolve some potential sync problem.
Better support of crop feature in decoding.
Resolve several CTS cases.
Re-organize imx-vpu.h in conformance to standard kernel driver API's framework.
JIRA ticket 503, 523, 528, 546, 554, 557, 589, 597, 608, 626, 627, 628, 633, 640 are resolved in this releaseSigned-off-by: Zhou Peng
Change-Id: I4e2779b8e878f633f4e6f002e05d927cf750ccec -
add vpu_v4l2 device node for 8mm/8mq/8mp
Signed-off-by: Zhou Peng
Change-Id: If41af5aafa79764a3d208d6888f4b2a0eca7361b -
Define variables for daemon and logpath in android
Signed-off-by: xiahong.bao
Reviewed-by: Zhou Peng
Change-Id: Ide5102a03ea394f0d6c2f2fcd888770f10c55dbe -
Add vpu v4l2 driver 'drivers/mxc/hantro_v4l2/'
Source are based on VSI 20210121 releaseSigned-off-by: Zhou Peng
Change-Id: Ic879d0a19c75336349803c2e7115e64ce93b71bf -
Change-Id: Ief0d6fac10385c5f7d99ab7a9ac3932a7a637913
30 Jan, 2021
2 commits
-
Add a new member jpeg_parse_error in mxc_jpeg_src_buf, to indicate
an error while parsing the input jpeg stream.
Do not run the decoder when the source buffer is marked with
jpeg_parse_error, instead mark both the source and destination
buffer with VB2_BUF_STATE_ERROR. This will prevent an application
getting stuck waiting to dequeue the destination buffer.Signed-off-by: Mirela Rabulea
-
End of buffer was not properly detected in case of an invalid
buffer stream, such as a stream of null bytes, for example.
This was leading to a kernel oups.
Let get_byte return type be int, so it can return an error for
reaching end of stream.While at it, replace 0 with NULL, for null pointer initialization.
Fixes: 36649dec0eb7 ("mxc-jpeg: Fix result independent of operands")
Signed-off-by: Mirela Rabulea