12 Sep, 2019
3 commits
-
Change DMA_BUF_IOCTL_PHYS NR to 10 avoid conflicts with upstream
in the future.Reviewed-by: Song Bing
Signed-off-by: Dong Aisheng
(cherry picked from commit 36abba8f55078424e037e7f7877e9f22062cccbc) -
change DRM_FORMAT_MOD_VENDOR_VSI to 0xf1 to avoid conflicts
with upstream in the future.Reviewed-by: Liu Ying
Signed-off-by: Dong Aisheng
(cherry picked from commit aa4bedcc4c316d8d9400c3709840d5622e64e9b8) -
change DRM_FORMAT_MOD_VENDOR_AMPHION to 0xf0 to avoid conflicts
with upstream in the future.Reviewed-by: Liu Ying
Signed-off-by: Dong Aisheng
(cherry picked from commit c91d6eb654f557f683e5cdd44181581adbe15378)
06 Sep, 2019
1 commit
-
commit f070ef2ac66716357066b683fb0baf55f8191a2e upstream.
Jonathan Looney reported that a malicious peer can force a sender
to fragment its retransmit queue into tiny skbs, inflating memory
usage and/or overflow 32bit counters.TCP allows an application to queue up to sk_sndbuf bytes,
so we need to give some allowance for non malicious splitting
of retransmit queue.A new SNMP counter is added to monitor how many times TCP
did not allow to split an skb if the allowance was exceeded.Note that this counter might increase in the case applications
use SO_SNDBUF socket option to lower sk_sndbuf.CVE-2019-11478 : tcp_fragment, prevent fragmenting a packet when the
socket is already using more than half the allowed spaceSigned-off-by: Eric Dumazet
Reported-by: Jonathan Looney
Acked-by: Neal Cardwell
Acked-by: Yuchung Cheng
Reviewed-by: Tyler Hicks
Cc: Bruce Curtis
Cc: Jonathan Lemon
Signed-off-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
(cherry picked from commit ec83921899a571ad70d582934ee9e3e07f478848)
10 Jun, 2019
1 commit
-
In order to support the new ASRC in i.MX815, we update the
user api file mxc_asrc.h.The reason is that the new ASRC support more sample width, and
support endianness, sign, float format, iec958 format setting,
All these type can be expressed by snd_pcm_format_t type.So we use the in(out)put_format to instead the in(out)put_word_width.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
Reviewed-by: Viorel Suman
(cherry picked from commit b95c32c4d4b51e3e55e1e28269a0e8bce0a04f98)
20 May, 2019
1 commit
-
The added format is V4L2_PIX_FMT_YUV24, this is a packed
YUV 4:4:4 format, with 8 bits for each component, 24 bits
per sample.Signed-off-by: Mirela Rabulea
Reviewed-by: Laurentiu Palcu
Acked-by: Leonard Crestez
26 Apr, 2019
1 commit
-
This reverts commit cf2ea7c7b563842ce6dfa3fc8c8fafdbdc5ef7c8.
18 Apr, 2019
33 commits
-
Add struct drm_imx_dpu_frame_info.
Configure dprc to enable prefetch for dpu blit.
Configure prefetch with source frame info for dpu blit.Signed-off-by: Meng Mingming
-
Implement Blt engine as DRM renderer.
Add dpu ioctl to support imx-drm render feature.Signed-off-by: Adrian Negreanu
Signed-off-by: Marius Vlad
Signed-off-by: Meng Mingming -
According to ANSI-CTA-861-G specification:
* EOTF is 8 bit, not 16;
* metadata type is 8 bit, not 16;
* There's no "Minimum Content Light Level"This patch will change the HDR metadata structures to reflect that. Also, this
will fix problems seen on some TVs that were rejecting HDR metadata because
it's size was too big (more than 26 bytes).Signed-off-by: Laurentiu Palcu
CC: Sandor Yu -
This is 10-bit per channel YUV420 semi-planar.
Signed-off-by: Laurentiu Palcu
-
This patch adds a blob property to get HDR metadata
information from userspace. This will be send as part
of AVI Infoframe to panel.Signed-off-by: Uma Shankar
-
Add a new fb modifier for Vivante compressed and tiled
pixle layout which can be decompressed by DEC400D module
in DCSS.Signed-off-by: Fancy Fang
-
These formats will be used by VPU and DCSS.
Signed-off-by: Laurentiu Palcu
-
Amphion VPU has a tiled layout using 8x128 pixel vertical strips,
where each strip contains 1x16 groups of 8x8 pixels in a row-major layout.Signed-off-by: Song Bing
Signed-off-by: Liu Ying -
Android has RGBA format output but V4L2 framework do not have this format
.In order to support this in our mem2mem driver, we need to extend V4L2
format.Signed-off-by: Guoniu.Zhou
(cherry picked from commit 24c970a517e1e4a860967255b0cca62c6e2f3c2e)
Only add uapi part to help yocto build
Signed-off-by: Leonard Crestez -
The clock source of ASRC in imx8qm is changed.
Signed-off-by: Shengjiu Wang
(cherry picked from commit b791083c0c38b324dc0544532c1e2398a5fd0e66)
Port early because uapi diffs could break yocto
Signed-off-by: Leonard Crestez -
Copy missing uapi headers from rel_imx_4.14.98_2.0.0_ga_rc1 to help
userspace build.VPU code will be ported later.
Signed-off-by: Leonard Crestez
-
This change allows userland to create a tee_shm object that refers
to a dmabuf reference.Userland provides a dmabuf file descriptor as buffer reference.
The created tee_shm object exported as a brand new dmabuf reference
used to provide a clean fd to userland. Userland shall closed this new
fd to release the tee_shm object resources. The initial dmabuf resources
are tracked independently through original dmabuf file descriptor.Once the buffer is registered and until it is released, TEE driver
keeps a refcount on the registered dmabuf structure.This change only support dmabuf references that relates to physically
contiguous memory buffers.New tee_shm flag to identify tee_shm objects built from a registered
dmabuf: TEE_SHM_EXT_DMA_BUF. Such tee_shm structures are flagged both
TEE_SHM_DMA_BUF and TEE_SHM_EXT_DMA_BUF.Signed-off-by: Etienne Carriere
Reviewed-by: Jens Wiklander
From: https://github.com/linaro-swg/linux.git
(cherry picked from commit 41e21e5c405530590dc2dd10b2a8dbe64589840f)(Vipul: Fixed merge conflicts)
Conflicts:
drivers/tee/tee_core.c
drivers/tee/tee_shm.c
include/linux/tee_drv.h
Signed-off-by: Vipul Kumar -
Add isl29023 driver support for i.MX6Q/DL/SX platform. The code derives from 3.10.y branch.
Signed-off-by: Luwei Zhou
Signed-off-by: Fugang Duan
(cherry picked from commit: b0134420bba0022151499f1bb15e0d5daba970fa)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar -
In pxp lib, the unit of stride parameter is pixel and stride
is not equal with width parameter of out buffer in some cases.In order to use latest pxp lib in old version rootfs, PXP_DEVICE_LEGACY
macro is used to distinguish pxp drvier version. Because the
new pxp driver define a new variable and pxp lib can know this
through PXP_DEVICE_LEGACY, and determine if use it.Signed-off-by: Guoniu.Zhou
Reviewed-by: Fancy Fang
(cherry picked from commit 91da74e81cfdd2774b39a7574edf93de3f2a3f25)
Signed-off-by: Vipul Kumar -
Add pxp v3 crop feature support.
Update the pxp_dma.h file.Signed-off-by: Guoniu.Zhou
Signed-off-by: Vipul Kumar -
The latest pxp_dma.h file change PXP_PIX_FMT_RGB32 to PXP_PIX_FMT_XRGB32
format, but the userspace still use PXP_PIX_FMT_RGB32, so add back it and
keep the same with PXP_PIX_FMT_XRGB32 format.Signed-off-by: Guoniu.Zhou
Signed-off-by: Vipul Kumar -
The V3 version PXP has added below new 2D features:
1. Input fetch/store blocks to accept different formats input/output.
2. Add Rotation1 block to do rotation before alpha blending.
3. Add Composite1 block to accept source from input fetch.
4. AS and PS have increased supported pixel formats.Signed-off-by: Fancy Fang
Signed-off-by: Guoniu.Zhou
(cherry picked from commit 4daef24b19890ca65135c48fc24018f64761444f)
(Vipul: Fixed merge conflicts)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar -
Fix following build error by changing type to '__u64'.
include/uapi/linux/pxp_dma.h:230:2: error: unknown type name 'u64'
u64 lut_sels;
^~~Signed-off-by: Robby Cai
Signed-off-by: Vipul Kumar -
This patch reverts commit 26d39e14fb8ff2c8a6251f79d640f6ead1a0443e.
Signed-off-by: Vipul Kumar
-
Add mlb support on imx_4.1.y. The files are copied from imx_3.14.y.
Signed-off-by: Gao Pan
(Vipul: Fixed merge conflicts)
Signed-off-by: Vipul Kumar -
This patch adds 30bit RGB101010 LVDS pixel formats support for
the SPWG and JEIDA LVDS mapping standards. Each pixel is transferred
on 5 lanes with 7bit respectively.Signed-off-by: Liu Ying
Signed-off-by: Vipul Kumar -
This patch adds 30bit RGB666 with low padding support.
Signed-off-by: Liu Ying
Signed-off-by: Vipul Kumar -
This patch adds 30bit RGB888 with low padding support.
Signed-off-by: Liu Ying
Signed-off-by: Vipul Kumar -
Initial port of the mxc V4L2 capture driver.
Baseline copied from imx_3.14.y branch:Signed-off-by: Sandor Yu
For 4.14 updated to fwnode interface because v4l-of is gone.
Signed-off-by: Leonard Crestez
(Vipul: Fixed merge conflicts)
Signed-off-by: Vipul Kumar -
This reverts commit b71c99801e18eb172ae34851daf25044a3bf644a.
Signed-off-by: Oliver Brown
(cherry picked from commit 5c74966c0e7deb0ac84b3fa8a84c6c942e7d434f)Conflicts:
drivers/media/v4l2-core/v4l2-compat-ioctl32.c
include/media/v4l2-subdev.h
(Vipul: Fixed merge conflicts)
Signed-off-by: Vipul Kumar -
Forward imx_3.14.y mxc video output drivers to 4.1 kernel.
The priv field of v4l2_pix_format is used to expand colorspace,
and can not use to pass IPU input crop size.
Add private IOCTL VIDIOC_S_INPUT_CROP and VIDIOC_G_INPUT_CROP
to pass input crop size.Signed-off-by: Sandor Yu
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar -
Add v4l2 and dcic head file.
Signed-off-by: Sandor Yu
In 4.14 it is no longer required to list headers in Kbuild
Signed-off-by: Leonard Crestez
Signed-off-by: Vipul Kumar -
Forward imx_3.14.y IPU and display drivers to 4.1 kernel.
This includes IPU core driver, display driver, LDB and HDMI driver.Signed-off-by: Sandor Yu
(Vipul: Fixed merge conflicts)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar -
This driver is based on the current code which runs the the EMV test on the i.MX258 platform.
Since there are still many cases that can't pass on the i.MX258 and i.MX7d platform. The
driver will need to be improved after per-test work. Just check in as a base code. There
would be definitly some timing improvement work to do in the future.Signed-off-by: Luwei Zhou
(cherry picked from 3ac1ad5b2a68ecb052ccacca4ac7459ead04415e)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar -
This is based on Xtensa Audio framework
userspace implemention API.Reviewed-by: Cosmin-Gabriel Samoila
Signed-off-by: Shengjiu Wang
(cherry picked from commit 83b6f7340c4bb5fd9380cce5d856b18b9dc34457)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar
Signed-off-by: Srikanth Krishnakar
Signed-off-by: Vipul Kumar -
This is based on RF-2016.4-linux package received from Cadence
and introduce the API for loading shared libraries into memory.Based on this we create xf_load_lib/xf_load_unlib functions
which are used to tell DSP framework that codec libraries
are mapped in memory and it can start using them.Reviewed-by: Cosmin-Gabriel Samoila
Signed-off-by: Shengjiu Wang
(cherry picked from commit e41836921c9f3674650318c9857584a461218c7c)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar
Signed-off-by: Srikanth Krishnakar
Signed-off-by: Vipul Kumar -
In order to avoid the name problem going forward with
integration with Qcom, Qcom has their own dsp and hifi
is competitor, so the hifi name should not be used in
our code.So use the name of dsp instead of hifi to fix this
problem.Signed-off-by: Weiguang Kong
(Vipul: Fixed merge conflicts and ignore i.mx8 changes)
Signed-off-by: Vipul Kumar -
The architecture of dsp framework has been changed, the role of
dsp driver is transferring messages between dsp framework and user space
application, so change dsp driver to support this function.Signed-off-by: Weiguang Kong
(Vipul: Fixed merge conflicts)
TODO: checkpatch warnings
Signed-off-by: Vipul Kumar
Signed-off-by: Srikanth Krishnakar