23 Feb, 2021
4 commits
-
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
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
03 Feb, 2021
1 commit
-
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
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
29 Jan, 2021
7 commits
-
Skip registering the root slice of gate ops, if M4 is enabled.The gate in
the root slice of the clock related to GPU, VPU, MEDIA and ML etc is always
open by default.This causes VDD_SOC to increase by 25mW when M7 is in STOP MODE.This patch only makes "audio_ahb", "i2c3", "sai3", "uart4", "gic",
"gpt1" and "pwm4" related to LPA clock skips registering the root slice
of gate ops, if M4 is enabled.After this change, VDD_SOC increases by 5mW
when M7 is in STOP MODE.This change saves 20mw.Change-Id: I7779c8e9ed6864db5f218c287341ab57a90b6a7b
Signed-off-by: zhipeng.wang -
Under normal circumstances, use BT,
the system will request high. In order to test the
MP3 to BT in the case of low audio bus, remove it.Change-Id: I00fd9986e559ce39a8d0af18540ee55e60357a98
Signed-off-by: zhipeng.wang -
disable system regulator to high bus freq for emmc.
system will change to high bus freq when open lcd
through imx_lcdifv3_runtime_resume.Change-Id: Iaa65e56c5efdd7cb236a21f41d70834070065293
Signed-off-by: zhang sanshan -
enable runtime setting gic clk(500M → 100M)
Change-Id: I79e07ffcf645ee7f26ec1fc701d44f3e7502cb62
Signed-off-by: zhipeng.wang -
Under normal circumstances, the ddr frequencies of audio_bus_mode and
low_bus_mode are both 100mts. Now in order to meet Sony’s requirements,
both audio_bus_mode and low_bus_mode are changed to 400mts.Change-Id: I68f878a52069136f4b8ff84b06a55b8ea1eae99d
-
For normal case, userspace should call streamon/streamoff balance, but
for some special case, the process will be killed or terminated and the
streamoff ioctl will be ignored. So driver need to handle the case.Signed-off-by: Guoniu.zhou
Reviewed-by: Robby Cai -
For some tough multi channels test, the default priority of channel0 may
not be scheduled in 500us so that channel context can't be loaded as the
below warning, hence sdma channel transfer will be failed. So raise up
channel0 to the highest one since context load is important to all
channels. Besides, enlarge 500us to 5ms for safe since many highest channel
also may run at the same time like asrc/easrc tough test(8 channel run)."imx-sdma 30e10000.dma-controller: Timeout waiting for CH0 ready"
Signed-off-by: Robin Gong
Reviewed-by: Peng Zhang
28 Jan, 2021
10 commits
-
if clk is build as module, reset-dispmix is set as Y by default.
reset-dispmix will fail when probe, because it is depended on clk which is still not ready.
display driver will failed if reset-dispmix failed.Change-Id: Ib86f71256dcf41924e063e73f94eac4494e41e89
Signed-off-by: zhang sanshan -
below is the scene when meet issue running module CtsCameraTestCases.
1. It will operate list(like list_del) in cap_vb2_stop_streaming.
2. Althrough the list is protected by spin_lock_irqsave step 1 which disable interrupt.
It will also operate list in mxc_isi_cap_frame_write_done, it's in context of interrupt(mxc_isi_irq_handler)
this interrupt is from different cpu compared with step1.this patch use spin_lock_irqsave/spin_unlock_irqrestore in interrupt context to protect the shared
data (out_pending/out_discard/out_pending).Change-Id: I19bab22f9c7c91d791bc5c983ecc8cc6afdeaddc
Signed-off-by: zhang sanshan -
mx6s_capture use vb2_dma_contig_memops as default me_ops.
select VIDEOBUF2_DMA_CONTIG by default.VIDEOBUF2_DMA_CONTIG have no hardware involved, and mx6s_capture.c need
compile as module according gki requirement. so need set VIDEOBUF2_DMA_CONTIG
as y in defconfig, it require add menu item string here for VIDEOBUF2_DMA_CONTIGChange-Id: Ie91093c52af199146b8aae29ea13fa7558e24649
Signed-off-by: zhang sanshan -
This reverts commit 1dee40a806ab5764d2d5b250525a278b53b51b82.
Change-Id: I7bc925ca02fd64b4f79b4d25844374b4d918432b
-
The latest batch of RM67191 panels have an issue that the panel display
will get blurred and have no response to later display actions when read
data from panel through DSI interface.And decrease the pixel clock rate to 121MHz which means decrease the
panel's frame rate from 60.02Hz to 55.02Hz can solve this issue, so
do this change to make RM67191 display more stable.Signed-off-by: Fancy Fang
Reviewed-by: Robby Cai -
According to the .transfer function definition in mipi_dsi_host_ops,
on success it shall return the number of bytes transmitted for write
packets or the number of bytes received for read packets. So correct
the return value in sec_mipi_dsim_host_transfer() implementation.Signed-off-by: Fancy Fang
Reviewed-by: Robby Cai -
Build nxp mxmwifi driver out of kernel tree on L5.10
Revert "MA-18497 Add initial nxp mxmwifidriver on L5.10"
This reverts commit b5cad372dfbd3f3f72656ba57bb71ac1f4b837d5.Change-Id: I9c7cfe2c8ffbe74defc26570a9222170a76a61bc
Signed-off-by: yang.tian -
Fix a Coverity issue in fm: extra argument to printf format specifier for dma_max_watchdog
Signed-off-by: Florinel Iordache
-
This reverts commit cd74693870fb748d812867ba49af733d689a3604.
This is a workaround for allowing dm-crypt crypto operations to be
offloaded to caam crypto accelerator.
It's needed because crypto algorithms registered by caam are marked with
CRYPTO_ALG_ALLOCATES_MEMORY flag.Background:
Red Hat reported possible allocation issues in dm-crypt, dm-integrity:
Link: https://lore.kernel.org/linux-crypto/alpine.LRH.2.02.2006091259250.30590@file01.intranet.prod.int.rdu2.redhat.com
The solution found was a mechanism to let dm-crypt, dm-integrity avoid
using crypto algorithms that allocate memory "at runtime" - by specifying
the CRYPTO_ALG_ALLOCATES_MEMORY flag introduced in
commit fbb6cda44190 ("crypto: algapi - introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY")Signed-off-by: Horia Geantă
Reviewed-by: Manish Tomar -
The ls-extirq driver doesn't implement the irq_set_wake()
callback, while being wake-up capable. This results in
ugly behaviours across suspend/resume cycles.Advertise this by adding IRQCHIP_SKIP_SET_WAKE to
the irqchip flagsSigned-off-by: Biwen Li
27 Jan, 2021
2 commits
-
Zero-out local configuration structures before filling them up and
passing them to the QMan. In most scenarios, there is no need to fill up
all fields so some random data might linger. This avoids sending potentially
random data to the QMan.Applies to congestions groups, class congestion groups and fq
initialization.Signed-off-by: Camelia Groza
-
The dpa_fd_length() and dpa_fd_offset() calls return values so
the const qualifier is meaningless in this case.Signed-off-by: Camelia Groza
26 Jan, 2021
8 commits
-
After rotations were introduced for Vivante tiled/super-tiled formats and these
formats were also allowed for video channels, the tile type was adjusted only
if the framebuffer modifier was linear or belonged to Vivante tiled types. For
tiled video formats, the modifier is none of those and the tiled type remained
unchanged from the previous run.Tiled video formats are handled by DTRC and DPR always fetches the linear buffers
directly from DTRC.This patch fixes the regression. Also, add a meaningful error message if a wrong
modifier is passed to DPR for the graphics/video path.Fixes: 69c833ef382c ("LF-2580: drm/imx/dcss: add 90/270 rotations for Vivante tiled formats.")
Signed-off-by: Laurentiu Palcu
Reviewed-by: Liu Ying -
Fix a Coverity issue in fm driver: invalid type in argument format specifier
Signed-off-by: Florinel Iordache
-
Fix a Coverity issue in lnxwrp_fm: leaked_storage: Variable p_LnxWrpFmDev going out of scope leaks the storage it points to
Signed-off-by: Florinel Iordache
-
Some HDR10 pipe configurations are not supported by DCSS.
The general idea is to use atomic check to reject the unsupported cases
by searching the array dcss_cfg_table[] to see if a valid entry can be found
or not. To do the atomic check correctly, we should track the output pipe
configurations, which is done by the newly introduced struct dcss_crtc_state.
The plane->atomic_check() function would finally check the input and output
pipe configurations by calling the helper function
dcss_plane_hdr10_pipe_cfg_is_supported().Tested-by: Laurentiu Palcu
Reviewed-by: Laurentiu Palcu
Signed-off-by: Liu Ying -
This patch adds the to_dcss_crtc() helper function to make callers'
life easier.Tested-by: Laurentiu Palcu
Reviewed-by: Laurentiu Palcu
Signed-off-by: Liu Ying -
Fix a Coverity issue in fm: invalid type in argument format specifier for bmi_max_fifo_size
Signed-off-by: Florinel Iordache
-
Fix a Coverity issue in hc: invalid type in argument format specifier
Signed-off-by: Florinel Iordache
-
Fix a Coverity issue in fm driver: format string ended in the middle of specifier %
Signed-off-by: Florinel Iordache