cron job: media_tree daily build: OK

2019-05-22 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Thu May 23 05:00:11 CEST 2019 media-tree git hash:9390467c2d3bd19778ec23b39dde5424151ec37d media_build gi

media/master v4l2-compliance on vivid: 236 tests, 0 regressions (v5.2-rc1-23-g9390467c2d3b)

2019-05-22 Thread kernelci.org bot
media/master v4l2-compliance on vivid: 236 tests, 0 regressions (v5.2-rc1-23-g9390467c2d3b) Test results summary V4L2 Compliance on the vivid driver. This test ran "v4l2-compliance -s" from v4l-utils: https://www.linuxtv.org/wiki/index.php/V4l2-utils See each detailed

[PATCH bpf-next v2 2/4] bpf: media: properly use bpf_prog_array api

2019-05-22 Thread Stanislav Fomichev
Now that we don't have __rcu markers on the bpf_prog_array helpers, let's use proper rcu_dereference_protected to obtain array pointer under mutex. Cc: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: Sean Young Signed-off-by: Stanislav Fomichev --- drivers/media/rc/bpf-lirc.c | 30 ++

Use logo on USB drive

2019-05-22 Thread David
Hi, Not sure if you received my last email? Are you interested in purchasing your LOGO promotional and marketing products for your company? We produce USB Drives with your Logo Printed or artwork printed to be used for gifts or marketing. Here is more info from our website: We can pre-load your

Use logo on USB drive

2019-05-22 Thread David
Hi, Not sure if you received my last email? Are you interested in purchasing your LOGO promotional and marketing products for your company? We produce USB Drives with your Logo Printed or artwork printed to be used for gifts or marketing. Here is more info from our website: We can pre-load your

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 12:08 +0200, Thierry Reding a écrit : > > 3. Does the HW do support single interrupt per frame (RK3288 as an > > example does not, but RK3399 do) > > Yeah, we definitely do get a single interrupt at the end of a frame, or > when an error occurs. Looking a bit at the re

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 13:39 +0200, Thierry Reding a écrit : > On Wed, May 22, 2019 at 11:29:13AM +0200, Paul Kocialkowski wrote: > > Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > > > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > > > On Wed, 22 May 2019

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 11:29 +0200, Paul Kocialkowski a écrit : > Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > > On Wed, 22 May 2019 15:39:37 +0900 > > > Tomasz Figa wrote: > > > > > > > > It would be p

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 10:20 +0200, Boris Brezillon a écrit : > On Wed, 22 May 2019 09:29:24 +0200 > Boris Brezillon wrote: > > > On Wed, 22 May 2019 15:39:37 +0900 > > Tomasz Figa wrote: > > > > > > It would be premature to state that we are excluding. We are just > > > > trying to find one

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 15:01 +0900, Tomasz Figa a écrit : > On Tue, May 21, 2019 at 8:45 PM Paul Kocialkowski > wrote: > > Hi, > > > > On Tue, 2019-05-21 at 19:27 +0900, Tomasz Figa wrote: > > > On Thu, May 16, 2019 at 2:43 AM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > > > Le mer

Re: Route lifetime in SUBDEV_[GS]_ROUTING

2019-05-22 Thread Jacopo Mondi
Hi Sakari, +cc Niklas, Laurent and Kieran, as I'm testing on a Renesas board setup Let me add an example based on your smiapp multiplexed support patches to describe how to model a CSI-2 multiplexed subdevice, such as an image sensor. Also, regarding the stream_id semantic which sparkled t

Re: [PATCH v6 0/5] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-05-22 Thread Michael Tretter
On Wed, 22 May 2019 14:04:23 +0200, Hans Verkuil wrote: > On 5/13/19 7:21 PM, Michael Tretter wrote: > > This is v6 of the Allegro DVT H.264 encoder driver found in the EV > > family of the Xilinx ZynqMP platform. > > > > Only minor changes this time. I dropped the implementation of the > > select

Re: [PATCH v6 0/5] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-05-22 Thread Hans Verkuil
On 5/13/19 7:21 PM, Michael Tretter wrote: > This is v6 of the Allegro DVT H.264 encoder driver found in the EV > family of the Xilinx ZynqMP platform. > > Only minor changes this time. I dropped the implementation of the > selection api, removed all references mentioning the decoder, and fixed >

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Wed, May 22, 2019 at 12:55:53PM +0200, Hans Verkuil wrote: > On 5/22/19 12:42 PM, Thierry Reding wrote: > > On Wed, May 22, 2019 at 10:26:28AM +0200, Paul Kocialkowski wrote: > >> Hi, > >> > >> Le mercredi 22 mai 2019 à 15:48 +0900, Tomasz Figa a écrit : > >>> On Sat, May 18, 2019 at 11:09 PM Ni

[GIT PULL for 5.3] Videobuf2 corner case fixes

2019-05-22 Thread Sakari Ailus
Hi Mauro, Here are the videobuf2 corner case fixes. Please pull. The following changes since commit bc8c479a5b19bd44f7379e42e627170957985ee9: media: venus: helpers: fix dynamic buffer mode for v4 (2019-05-21 09:03:25 -0400) are available in the git repository at: ssh://linuxtv.org/git/s

[GIT PULL for 5.3] Sensor and ccic driver patches

2019-05-22 Thread Sakari Ailus
Hi Mauro, Here are sensor and Marvell CCIC driver patches for v5.3. Included is also a fix for fwnode C-PHY handling. Please pull. The following changes since commit bc8c479a5b19bd44f7379e42e627170957985ee9: media: venus: helpers: fix dynamic buffer mode for v4 (2019-05-21 09:03:25 -0400)

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Wed, May 22, 2019 at 11:29:13AM +0200, Paul Kocialkowski wrote: > Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > > On Wed, 22 May 2019 15:39:37 +0900 > > > Tomasz Figa wrote: > > > > > > > > It would be p

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Hans Verkuil
On 5/22/19 12:42 PM, Thierry Reding wrote: > On Wed, May 22, 2019 at 10:26:28AM +0200, Paul Kocialkowski wrote: >> Hi, >> >> Le mercredi 22 mai 2019 à 15:48 +0900, Tomasz Figa a écrit : >>> On Sat, May 18, 2019 at 11:09 PM Nicolas Dufresne >>> wrote: Le samedi 18 mai 2019 à 12:29 +0200, Paul

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Wed, May 22, 2019 at 10:26:28AM +0200, Paul Kocialkowski wrote: > Hi, > > Le mercredi 22 mai 2019 à 15:48 +0900, Tomasz Figa a écrit : > > On Sat, May 18, 2019 at 11:09 PM Nicolas Dufresne > > wrote: > > > Le samedi 18 mai 2019 à 12:29 +0200, Paul Kocialkowski a écrit : > > > > Hi, > > > > >

Re: [RFC PATCH V1 6/6] platform: mtk-isp: Add Mediatek DIP driver

2019-05-22 Thread Tomasz Figa
Hi Frederic, On Wed, May 22, 2019 at 03:14:15AM +0800, Frederic Chen wrote: > Dear Tomasz, > > I appreciate your comment. It is very helpful for us. > You're welcome. Thanks for replying to all the comments. I'll skip those resolved in my reply to keep the message shorter. > > On Thu, 2019-05

[GIT PULL FOR v5.3] cec: various fixes/enhancements

2019-05-22 Thread Hans Verkuil
Various cec fixes and enhancements. This includes an API addition: CEC_MSG_FL_RAW. This requires CAP_SYS_RAWIO and when set skips all sanity checks except some core checks such as checking the payload length. This flag is typically used when debugging CEC issues with devices that do not properly

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Tue, May 21, 2019 at 12:23:46PM -0400, Nicolas Dufresne wrote: > Le mardi 21 mai 2019 à 17:43 +0200, Thierry Reding a écrit : > > On Wed, May 15, 2019 at 07:42:50PM +0200, Paul Kocialkowski wrote: > > > Hi, > > > > > > Le mercredi 15 mai 2019 à 10:42 -0400, Nicolas Dufresne a écrit : > > > > Le

[PATCHv2 3/7] cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function

2019-05-22 Thread Hans Verkuil
This adds the userspace API to send raw unchecked CEC messages. This will require root permissions. Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-priv.h | 5 + include/uapi/linux/cec.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/media/cec/cec-priv.h b/drivers/me

[PATCHv2 2/7] cec: move check from cec_transmit to cec_transmit_msg_fh

2019-05-22 Thread Hans Verkuil
This ensures all the cec_msg checks are done in the same place. Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-adap.c | 5 + drivers/media/cec/cec-api.c | 8 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/media/cec/cec-adap.c b/drivers/media/cec/cec-a

[PATCHv2 1/7] cec: cec_transmit_msg_fh: do sanity checks first

2019-05-22 Thread Hans Verkuil
The code that fills in the CEC_MSG_CDC_MESSAGE physical address is now done after the sanity checks. It also only does this if the message length is >= 4 (i.e. there is room for the physical address). Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-adap.c | 11 ++- 1 file changed,

[PATCHv2 5/7] cec: support CEC_MSG_FL_RAW

2019-05-22 Thread Hans Verkuil
If this flag is set, then check for root permissions and skip all message checks expect for the core checks (i.e. validate the length etc.). Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-adap.c | 107 --- 1 file changed, 62 insertions(+), 45 deletions(-)

[PATCHv2 4/7] cec-ioc-receive.rst: document CEC_MSG_FL_RAW

2019-05-22 Thread Hans Verkuil
Document this new cec_msg flag. Signed-off-by: Hans Verkuil --- Documentation/media/uapi/cec/cec-ioc-receive.rst | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/cec/cec-ioc-receive.rst b/Documentation/media/uapi/cec/cec-ioc-receive.rs

[PATCHv2 7/7] cec-ioc-g-mode.rst: be more specific when EPERM is returned

2019-05-22 Thread Hans Verkuil
Document which capability is required, rather than just saying that "root permissions" are required. Signed-off-by: Hans Verkuil --- Documentation/media/uapi/cec/cec-ioc-g-mode.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/cec/cec-ioc-g-mode.r

[PATCHv2 0/7] cec: various improvements

2019-05-22 Thread Hans Verkuil
This series adds a new CEC_MSG_FL_RAW flag to skip all CEC message checks and transmit the raw message (if called as root). This is useful when debugging issues with other dubious CEC implementations. It also relaxes an initiator check for Ping and Image/Text View On messages when there is no HPD

[PATCHv2 6/7] cec: allow any initiator for Ping and Image/Text View On

2019-05-22 Thread Hans Verkuil
Some displays pull down the HPD when in standby, but CEC is still active and the display can be woken up by sending an Image View On or Text View On CEC command. The CEC specification doesn't tell you what the initiator should be for such a command (without a HPD it's unclear if the CEC adapter can

Re: [RFC PATCH V1 6/6] platform: mtk-isp: Add Mediatek DIP driver

2019-05-22 Thread Shik Chen
Hi Frederic, Most reviews are already covered by Tomasz, here are some small missing pieces. Please see my comments inline. On Wed, Apr 17, 2019 at 06:45:11PM +0800, Frederic Chen wrote: > This patch adds the driver of Digital Image Processing (DIP) > unit in Mediatek ISP system, providing image

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Paul Kocialkowski
Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > On Wed, 22 May 2019 15:39:37 +0900 > > Tomasz Figa wrote: > > > > > > It would be premature to state that we are excluding. We are just > > > > trying to find one

[PATCH v2] media: coda: add decoder MPEG-4 profile and level controls

2019-05-22 Thread Philipp Zabel
The MPEG-4 decoder firmware reports profile and level indication values that can be used to update V4L2 MPEG-4 profile and level controls. Signed-off-by: Philipp Zabel --- Changes since v1 [1]: - Fix coda_decode_ctrls trying to set mpeg2_level_ctrl read-only, that should be mpeg4_level_ctrl.

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > On Wed, 22 May 2019 15:39:37 +0900 > Tomasz Figa wrote: > > > > It would be premature to state that we are excluding. We are just > > > trying to find one format to get things upstream, and make sure we have > > > a plan how to ex

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Paul Kocialkowski
Hi, Le mercredi 22 mai 2019 à 15:48 +0900, Tomasz Figa a écrit : > On Sat, May 18, 2019 at 11:09 PM Nicolas Dufresne > wrote: > > Le samedi 18 mai 2019 à 12:29 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > Le samedi 18 mai 2019 à 12:04 +0200, Jernej Škrabec a écrit : > > > > Dne sobo

cron job: media_tree daily build: OK

2019-05-22 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Wed May 22 09:33:35 CEST 2019 media-tree git hash:bc8c479a5b19bd44f7379e42e627170957985ee9 media_build gi

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Boris Brezillon
On Wed, 22 May 2019 09:29:24 +0200 Boris Brezillon wrote: > On Wed, 22 May 2019 15:39:37 +0900 > Tomasz Figa wrote: > > > > It would be premature to state that we are excluding. We are just > > > trying to find one format to get things upstream, and make sure we have > > > a plan how to extend

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Thierry Reding
On Tue, May 21, 2019 at 12:07:47PM -0400, Nicolas Dufresne wrote: > Le mardi 21 mai 2019 à 17:09 +0200, Thierry Reding a écrit : > > On Tue, May 21, 2019 at 01:44:50PM +0200, Paul Kocialkowski wrote: > > > Hi, > > > > > > On Tue, 2019-05-21 at 19:27 +0900, Tomasz Figa wrote: > > > > On Thu, May 16

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Boris Brezillon
On Wed, 22 May 2019 15:39:37 +0900 Tomasz Figa wrote: > > It would be premature to state that we are excluding. We are just > > trying to find one format to get things upstream, and make sure we have > > a plan how to extend it. Trying to support everything on the first try > > is not going to wo