dvb_usb_dib0700 ( T14BR) not initializing on reboot

2009-12-01 Thread Paul
I have a DVB-T USB device ( T14BR), which seems to work fine when I plug in my Fedora 10 box but I if I reboot with device connected it regularity fails to initialise correctly and to correct I have to remove unplug-device remove the module and reload module to fix up and only after system has bee

Re: dvb_usb_dib0700 ( T14BR) not initializing on reboot

2009-12-01 Thread Paul
On 2/12/2009 12:35 PM, Paul wrote: I have a DVB-T USB device ( T14BR), which seems to work fine when I plug in my Fedora 10 box but I if I reboot with device connected it regularity fails to initialise correctly and to correct I have to remove unplug-device remove the module and reload module to

Re: dvb_usb_dib0700 ( T14BR) not initializing on reboot

2009-12-02 Thread Paul
initialised perhaps? Note it does work sometimes during reboot so perhaps some timing issue during init? thanks Paul On 2/12/2009 6:28 PM, ALi wrote: Are you sure that your usb is dib0700? if you look on the sources you wont see idVendor=413c, idProduct=3010 however there is os...@x-evian

audio drive fails to initialise after latest FC12 kernel

2010-03-17 Thread Paul
I have a digitalnow DNTV Live! DVB-T Pro [card=42,] which has a Audio input jack, and after the new cx88 drivers which the kernal I don't see that audio device any more uname -a Linux mythbox.salsola 2.6.32.9-70.fc12.i686 #1 SMP Wed Mar 3 05:14:32 UTC 2010 i686 athlon i386 GNU/Linux here are c

RE: LifeView LR307Q Mini PCI

2009-09-18 Thread Paul
Hi Gabriel, From what I can remember, card=60 and audio_clock_override=0x00187de7 did the trick for analogue PAL-I. See http://marc.info/?l=linux-video&m=116859373521663&w=2 Cheers Paul -Original Message- From: video4linux-list-boun...@redhat.com [mailto:video4linux-l

Re: [linux-dvb] s2-lipliandvb oops (cx88) -> cx88 maintainer ?

2009-01-06 Thread Paul
be 70 06 00 00 2a 0f 85 e6 00 00 00 be d0 RIP [] vp3054_i2c_probe+0xe/0x115 [cx88_vp3054_i2c] RSP CR2: ---[ end trace 8b736803e6538324 ]--- I apologise if my error is not related, but to me it looks very similar to the oops Gregoire is seeing and I am hoping it will help.

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Paul Moore
| 6 +++--- > kernel/trace/trace_printk.c | 4 ++-- > lib/raid6/sse2.c | 14 +++--- > sound/soc/fsl/fsl_dma.c | 2 +- > 20 files changed, 30 insertions(+), 31 deletions(-) For the audit bits ... Acked-by: Paul Moore -- paul moore www.paul-moore.com

[PATCH v6 5/8] ARM: dts: sun5i: Add Video Engine and reserved memory nodes

2018-07-25 Thread Paul Kocialkowski
on in downstream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun5i.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boo

[PATCH v6 0/8] Cedrus driver for the Allwinner Video Engine, using media requests

2018-07-25 Thread Paul Kocialkowski
ndexes are used as reference frames for motion vectors; * lots of small cosmetic and consistency changes, including naming harmonization and headers text rework. Cheers! [0]: https://patchwork.kernel.org/patch/9299073/ [1]: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=reqv16 Paul

[PATCH v6 2/8] media: v4l: Add definition for Allwinner's MB32-tiled NV12 format

2018-07-25 Thread Paul Kocialkowski
after line. The MB32-tiled NV12 format is used by the video engine on Allwinner platforms: it is the default format for decoded frames (and the only one available in the oldest supported platforms). Signed-off-by: Paul Kocialkowski --- Documentation/media/uapi/v4l/pixfmt-reserved.rst

[PATCH v6 3/8] dt-bindings: media: Document bindings for the Cedrus VPU driver

2018-07-25 Thread Paul Kocialkowski
This adds a device-tree binding document that specifies the properties used by the Cedurs VPU driver, as well as examples. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- .../devicetree/bindings/media/cedrus.txt | 54 +++ 1 file changed, 54 insertions

[PATCH v6 6/8] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-07-25 Thread Paul Kocialkowski
tream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun7i-a20.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20

[PATCH v6 1/8] media: v4l: Add definitions for MPEG2 slice format and metadata

2018-07-25 Thread Paul Kocialkowski
drivers. This is based on work from both Florent Revest and Hugues Fruchet. Signed-off-by: Paul Kocialkowski --- .../media/uapi/v4l/extended-controls.rst | 122 ++ .../media/uapi/v4l/pixfmt-compressed.rst | 5 + drivers/media/v4l2-core/v4l2-ctrls.c | 54

[PATCH v6 4/8] media: platform: Add Cedrus VPU decoder driver

2018-07-25 Thread Paul Kocialkowski
in the interest of reverse engineering, documenting and implementing support for Allwinner VPU. Signed-off-by: Paul Kocialkowski --- MAINTAINERS | 7 + drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile| 1

[PATCH v6 8/8] ARM: dts: sun8i-h3: Add Video Engine and reserved memory nodes

2018-07-25 Thread Paul Kocialkowski
This adds nodes for the Video Engine and the associated reserved memory for the H3. Up to 96 MiB of memory are dedicated to the CMA pool. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm

[PATCH v6 7/8] ARM: dts: sun8i-a33: Add Video Engine and reserved memory nodes

2018-07-25 Thread Paul Kocialkowski
tream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a33.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33

Re: [git:media_tree/master] media: uvcvideo: Add KSMedia 8-bit IR format support

2018-07-26 Thread Paul Menzel
5:16:40 2018 -0400 > > Add support for the 8-bit IR format GUID defined in the Microsoft Kernel > Streaming Media API. > > Reported-by: Paul Menzel > Signed-off-by: Laurent Pinchart > Tested-by: Paul Menzel > Signed-off-by: Mauro Carvalho Chehab > > drivers/media

Re: [RFC] Request API and V4L2 capabilities

2018-08-06 Thread Paul Kocialkowski
er supports for decoding. I would suggest reusing the already- existing dedicated controls used for encoding for this purpose. For decoders, they would be used to expose the (read-only) maximum profile/level that is supported by the hardware and keep using them as a settable value in a range (matching

Re: [RFC] Request API and V4L2 capabilities

2018-08-06 Thread Paul Kocialkowski
Hi, On Mon, 2018-08-06 at 10:32 +0200, Hans Verkuil wrote: > On 08/06/2018 10:16 AM, Paul Kocialkowski wrote: > > On Sat, 2018-08-04 at 15:50 +0200, Hans Verkuil wrote: > > > Regarding point 3: I think this should be documented next to the pixel > > > format. I.e. &g

Re: [RFC] Request API and V4L2 capabilities

2018-08-06 Thread Paul Kocialkowski
On Mon, 2018-08-06 at 11:23 +0200, Hans Verkuil wrote: > On 08/06/2018 11:13 AM, Paul Kocialkowski wrote: > > Hi, > > > > On Mon, 2018-08-06 at 10:32 +0200, Hans Verkuil wrote: > > > On 08/06/2018 10:16 AM, Paul Kocialkowski wrote: > > > > On Sat, 201

Re: [RFC] Request API and V4L2 capabilities

2018-08-22 Thread Paul Kocialkowski
Hi, [...] On Wed, 2018-08-15 at 14:51 +0200, Maxime Jourdan wrote: > Hi Paul, I think we need to go deeper than just exposing the supported > profiles/levels and also include a way to query the CAPTURE pixel > formats that are supported for each profile. > > Maybe HEVC Main produ

Re: [RFC] Request API and V4L2 capabilities

2018-08-22 Thread Paul Kocialkowski
Hi, On Tue, 2018-08-21 at 17:52 +0900, Tomasz Figa wrote: > Hi Hans, Paul, > > On Mon, Aug 6, 2018 at 6:29 PM Paul Kocialkowski > wrote: > > > > On Mon, 2018-08-06 at 11:23 +0200, Hans Verkuil wrote: > > > On 08/06/2018 11:13 AM, Paul Kocialkowski wrote: &g

Re: [RFC] Request API and V4L2 capabilities

2018-08-22 Thread Paul Kocialkowski
Hi, On Wed, 2018-08-15 at 09:57 -0400, Nicolas Dufresne wrote: > Le lundi 06 août 2018 à 10:16 +0200, Paul Kocialkowski a écrit : > > Hi Hans and all, > > > > On Sat, 2018-08-04 at 15:50 +0200, Hans Verkuil wrote: > > > Hi all, > > > > > > Whil

Re: [RFC] Request API and V4L2 capabilities

2018-08-23 Thread Paul Kocialkowski
Hi, On Wed, 2018-08-22 at 14:33 -0300, Ezequiel Garcia wrote: > On Wed, 2018-08-22 at 16:10 +0200, Paul Kocialkowski wrote: > > Hi, > > > > On Tue, 2018-08-21 at 17:52 +0900, Tomasz Figa wrote: > > > Hi Hans, Paul, > > > > > > On Mon, Aug 6

Re: [RFC] Request API and V4L2 capabilities

2018-08-24 Thread Paul Kocialkowski
ack any > new state information and repeat the process. > > That said, I'm not sure if the cedrus driver for example can handle this > at the moment. It is also inefficient and it won't work if codecs require > more than one buffer in the queue for whatever reason. >

Re: [PATCH v3 6/7] media: Add controls for JPEG quantization tables

2018-08-27 Thread Paul Kocialkowski
x27;d be best to merge both matrices into a single control. What do you think? Paul > Signed-off-by: Shunqian Zheng > Signed-off-by: Ezequiel Garcia > --- > Documentation/media/uapi/v4l/extended-controls.rst | 13 + > drivers/media/v4l2-core/v4l2-ctrls.c

[PATCH 0/2] HEVC/H.265 stateless support for V4L2 and Cedrus

2018-08-28 Thread Paul Kocialkowski
support Cheers! Paul Kocialkowski (2): media: v4l: Add definitions for the HEVC slice format and controls media: cedrus: Add HEVC/H.265 decoding support .../media/uapi/v4l/extended-controls.rst | 416 ++ .../media/uapi/v4l/pixfmt-compressed.rst | 15 + .../media/uapi

Re: [PATCH v5 5/6] media: Add controls for JPEG quantization tables

2018-09-13 Thread Paul Kocialkowski
INTERVAL control already. In addition to these points, I see that among all the JPEG profiles, some have to do with arithmetic coding which will probably require a specific control on its own (not sure how it should look at this point though). What do you think? Cheers, Paul > +``V4L2_CID_JP

Re: [PATCH v2] staging: cedrus: Fix checkpatch issues

2018-09-13 Thread Paul Kocialkowski
ster.. > > (or just do a sed -E s,\\bcedrus_check_format\\b,cedrus_find_format,g as > a separate patch) > > and get rid of cedrus_check_format() for good. Agreed, the name is probably explicit enough anyway. I probably should have done that in the first place anyway. Cheers, Paul -- Deve

Re: [PATCH v5 5/6] media: Add controls for JPEG quantization tables

2018-09-13 Thread Paul Kocialkowski
Hi, On Thu, 2018-09-13 at 14:14 +0200, Paul Kocialkowski wrote: > Hi, > > On Wed, 2018-09-05 at 19:00 -0300, Ezequiel Garcia wrote: > > From: Shunqian Zheng > > > > Add V4L2_CID_JPEG_QUANTIZATION compound control to allow userspace > > configure the JPEG qua

Re: [PATCH v5 5/6] media: Add controls for JPEG quantization tables

2018-09-15 Thread Paul Kocialkowski
ion > field to the quantization control. The user would be able to set a baseline > or extended profile thru a (future) profile control, and if 16-bit > tables are found, and if the hardware supports them, the driver > would be able to support them. > > Another option, which mig

Re: [PATCH v5 5/6] media: Add controls for JPEG quantization tables

2018-10-12 Thread Paul Kocialkowski
Hi, Le mercredi 19 septembre 2018 à 13:28 +0900, Tomasz Figa a écrit : > On Thu, Sep 13, 2018 at 9:15 PM Paul Kocialkowski wrote: > > Hi, > > > > On Wed, 2018-09-05 at 19:00 -0300, Ezequiel Garcia wrote: > > > From: Shunqian Zheng > > > > > > Ad

Re: [PATCH] media: v4l: v4l2-controls.h must include types.h

2018-11-12 Thread Paul Kocialkowski
commit/?h=request_api&id=dafb7f9aef2fd44991ff1691721ff765a23be27b So it looks like we won't be needing this one! Cheers, Paul > Signed-off-by: Jean Delvare > Fixes: c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and > metadata") > Cc: Paul K

Re: [RFC PATCHv2 1/5] videodev2.h: add tag support

2018-11-12 Thread Paul Kocialkowski
rn (void *)v4l2_buffer_get_tag(buf); That is because we are on a 32-bit architecture here, so pointers are not 64-bit long, thus we can't have an equivalency between tag and pointer. It looks like this isn't used in the following patches, so perhaps it should be dropped? Cheers, Paul >

Re: [RFC PATCHv2 0/5] vb2/cedrus: add tag support

2018-11-12 Thread Paul Kocialkowski
r should be used. Otherwise, the hardware can't use different partly-decoded buffers as references (and the tag API doesn't allow that either, since a single buffer index is returned for a tag). What do you think? Cheers, Paul > Regards, > > Hans > > Changes

Re: [RFC PATCHv2 5/5] cedrus: add tag support

2018-11-12 Thread Paul Kocialkowski
*buf = ctx->dst_bufs[index]; > + struct vb2_buffer *buf; > > + if (index < 0) > + return 0; Maybe adding a new line here would increase readability? Cheers, Paul > + buf = ctx->dst_bufs[index]; > return buf ? cedrus_buf_addr(buf, &ctx->

Re: [PATCH v5 0/5] Make sure .device_run is always called in non-atomic context

2018-11-12 Thread Paul Kocialkowski
, 88 deletions(-) > > > > Hans, Maxime: > > Any feedback for this? I just tested the whole series with the cedrus driver and everything looks good! Removing the interrupt bottom-half in favor of a workqueue in the core seems like a good way to simplify m2m driver development by avoiding per-driver workqueues or threaded irqs. Cheers, Paul -- Paul Kocialkowski, Bootlin (formerly Free Electrons) Embedded Linux and kernel engineering https://bootlin.com signature.asc Description: This is a digitally signed message part

Re: [PATCH v5 5/5] media: cedrus: Get rid of interrupt bottom-half

2018-11-12 Thread Paul Kocialkowski
longer needed and we > can get rid of it. > > Signed-off-by: Ezequiel Garcia Acked-by: Paul Kocialkowski Cheers, Paul > --- > .../staging/media/sunxi/cedrus/cedrus_hw.c| 26 --- > 1 file changed, 5 insertions(+), 21 deletions(-) > > diff --git a/dr

Re: [PATCH v5 0/5] Make sure .device_run is always called in non-atomic context

2018-11-13 Thread Paul Kocialkowski
imultaneous > jobs. Either v4l2_m2m_cancel_job() will wait for the worker, or the > worker will be unable to run a new job. > > Patches apply on top of Request API and the Cedrus VPU > driver. > > Tested with cedrus driver using v4l2-request-test and > vicodec driver using

Re: [PATCH v5 0/5] Make sure .device_run is always called in non-atomic context

2018-11-13 Thread Paul Kocialkowski
Hi, On Mon, 2018-11-12 at 18:05 -0300, Ezequiel Garcia wrote: > On Mon, 12 Nov 2018 at 13:52, Paul Kocialkowski > wrote: > > Hi, > > > > On Sun, 2018-11-11 at 18:26 -0300, Ezequiel Garcia wrote: > > > On Thu, 2018-10-18 at 15:02 -0300, Ezequiel Garcia wrote: >

Re: [PATCH] cedrus: add action item to the TODO

2018-11-15 Thread Paul Kocialkowski
Hi, On Thu, 2018-11-15 at 08:49 +0100, Hans Verkuil wrote: > Mention that the request validation should increment the memory refcount > of reference buffers so we don't forget to do this. Thanks for adding this item, we should definitely take care of it before unstaging. Ack

Re: [PATCHv2 0/9] vb2/cedrus: add tag support

2018-11-19 Thread Paul Kocialkowski
gt; > > > I also removed the 'pad' fields from the mpeg2 control structs (it > > should never been added in the first place) and aligned the structs > > to a u32 boundary (u64 for the tag values). > > > > Note that this might change further (Paul suggested u

Re: [PATCHv3 9/9] cedrus: add tag support

2018-12-03 Thread Paul Kocialkowski
Hi, On Mon, 2018-12-03 at 14:51 +0100, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > Replace old reference frame indices by new tag method. > Signed-off-by: Hans Verkuil > Reviewed-by: Paul Kocialkowski I missed it earlier, but we should remember to update the

Re: [PATCH for v4.20 0/2] cedrus: move MPEG controls out of the uAPI

2018-12-05 Thread Paul Kocialkowski
getting the MPEG-2 > (and later H264/5) state controls right. Thanks a lot for this change, I'm glad we can take time to properly stabilize these controls! For the whole series: Reviewed-by: Paul Kocialkowski Cheers, Paul > Regards, > > Hans > > Hans Verkuil (2): &

Re: [PATCH] media: cetrus: return an error if alloc fails

2018-12-07 Thread Paul Kocialkowski
x27;. (kzalloc returns null) > > While here, remove the memset(), as kzalloc() already zeroes the > struct. Good catch, thanks for the patch! > Signed-off-by: Mauro Carvalho Chehab Acked-by: Paul Kocialkowski > --- > drivers/staging/media/sunxi/cedrus/cedrus.c | 3 ++-

Re: [PATCH v2] media: cedrus: don't initialize pointers with zero

2018-12-07 Thread Paul Kocialkowski
ies: > > $ git grep -E "=\s*\{\s*\}"|wc -l > 1951 > > The standard-C compliant pattern has about 2500 entries: > > $ git grep -E "=\s*\{\s*NULL\s*\}"|wc -l > 137 > $ git grep -E "=\s*\{\s*0\s*\}"|wc -l >

Re: [RFC PATCH v2] media: docs-rst: Document m2m stateless video decoder interface

2018-10-05 Thread Paul Kocialkowski
Hi, Le jeudi 04 octobre 2018 à 14:10 -0400, Nicolas Dufresne a écrit : > Le jeudi 04 octobre 2018 à 14:47 +0200, Paul Kocialkowski a écrit : > > > +Instance of struct v4l2_ctrl_h264_scaling_matrix, containing the > > > scaling > > > +matrix to use when

Re: [RFC PATCH v2] media: docs-rst: Document m2m stateless video decoder interface

2018-10-09 Thread Paul Kocialkowski
Hi, Le mardi 09 octobre 2018 à 16:30 +0900, Tomasz Figa a écrit : > On Thu, Oct 4, 2018 at 9:46 PM Paul Kocialkowski wrote: > > > > Hi, > > > > Here are a few minor suggestion about H.264 controls. > > > > Le jeudi 04 octobre 2018 à 17:11 +0900, Alexand

Re: [RFC PATCH v2] media: docs-rst: Document m2m stateless video decoder interface

2018-10-12 Thread Paul Kocialkowski
Hi, Le mardi 09 octobre 2018 à 16:36 +0900, Tomasz Figa a écrit : > On Sat, Oct 6, 2018 at 2:09 AM Paul Kocialkowski wrote: > > Hi, > > > > Le jeudi 04 octobre 2018 à 14:10 -0400, Nicolas Dufresne a écrit : > > > Le jeudi 04 octobre 2018 à 14:47 +0

Re: [RFC PATCH v2] media: docs-rst: Document m2m stateless video decoder interface

2018-10-12 Thread Paul Kocialkowski
Hi, Le mardi 09 octobre 2018 à 14:58 +0900, Tomasz Figa a écrit : > Hi Paul, > > On Thu, Oct 4, 2018 at 9:40 PM Paul Kocialkowski wrote: > > Hi Alexandre, > > > > Thanks for submitting this second version of the RFC, it is very > > appreciated! I will try to

Re: [RFC] Stateless codecs: how to refer to reference frames

2018-10-24 Thread Paul Kocialkowski
_ptr(struct v4l2_buffer *buf) > { > return (void *)v4l2_buffer_get_cookie(buf); > } > > Why not just use __u64? Because the alignment in v4l2_buffer is a nightmare. > Using __u64 would create holes, made even worse by different struct timeval > sizes depending on the architect

Logitech QuickCam USB detected by Linux, but not user space applications

2018-11-15 Thread Paul Menzel
63553. == No stream found. v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file) ``` Do you have an idea, what the issue. I know it worked fine several years ago. Kind regards, Paul smime.p7s Description: S/MIME Cryptogr

[PATCH] media: cedrus: Remove global IRQ spin lock from the driver

2018-11-15 Thread Paul Kocialkowski
result, remove the global IRQ spin lock. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 1 - drivers/staging/media/sunxi/cedrus/cedrus.h | 2 -- drivers/staging/media/sunxi/cedrus/cedrus_dec.c | 9 - drivers/staging/media/sunxi/cedrus

[PATCH 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes

2018-11-15 Thread Paul Kocialkowski
Now that we have specific nodes for the H3 and H5 system-controller that allow proper access to the EMAC clock configuration register, we no longer need a common dummy syscon node. Switch the syscon label over to each platform's dtsi file. Signed-off-by: Paul Kocialkowski --- arch/arm/boo

[PATCH 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-11-15 Thread Paul Kocialkowski
Add the H5-specific system control node description to its device-tree with support for the SRAM C1 section, that will be used by the video codec node later on. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 22 1 file changed, 22

[PATCH 12/15] media: cedrus: Add device-tree compatible and variant for H5 support

2018-11-15 Thread Paul Kocialkowski
Add the necessary compatible for supporting the H5 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus

[PATCH 14/15] arm64: dts: allwinner: h5: Add Video Engine and reserved memory node

2018-11-15 Thread Paul Kocialkowski
platform, but it seems safer that way. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 25 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index

[PATCH 15/15] arm64: dts: allwinner: a64: Add Video Engine and reserved memory node

2018-11-15 Thread Paul Kocialkowski
platform, but it seems safer that way. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index

[PATCH 04/15] soc: sunxi: sram: Enable EMAC clock access for H3 variant

2018-11-15 Thread Paul Kocialkowski
. Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index b4b0f3480bd3..afa86b5506eb 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc

[PATCH 13/15] media: cedrus: Add device-tree compatible and variant for A64 support

2018-11-15 Thread Paul Kocialkowski
Add the necessary compatible for supporting the A64 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus

[PATCH 10/15] arm64: dts: allwinner: a64: Add support for the SRAM C1 section

2018-11-15 Thread Paul Kocialkowski
Add the description for the SRAM C1 section to the A64 device-tree. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts

[PATCH 11/15] dt-bindings: media: cedrus: Add compatibles for the A64 and H5

2018-11-15 Thread Paul Kocialkowski
This introduces two new compatibles for the cedrus driver, for the A64 and H5 platforms. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/media/cedrus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/media/cedrus.txt b

[PATCH 09/15] dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1

2018-11-15 Thread Paul Kocialkowski
This introduces a new compatible for the A64 SRAM C1 section, that is compatible with the SRAM C1 section as found on the A10. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 06/15] soc: sunxi: sram: Add support for the H5 SoC system control

2018-11-15 Thread Paul Kocialkowski
This adds the H5 SoC compatible to the list of device-tree matches for the SRAM driver. Since the variant is the same as the A64 (that precedes the H5), the same variant description is used. Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 4 1 file changed, 4

[PATCH 01/15] ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address

2018-11-15 Thread Paul Kocialkowski
This cosmetic change removes the heading 0 in the video-codec unit address, as it's done for other nodes. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a33.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm

[PATCH 03/15] ARM: dts: sun8i-h3: Fix the system-control register range

2018-11-15 Thread Paul Kocialkowski
-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 35d025af7deb..7157d954fb8c 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts

[PATCH 05/15] dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1

2018-11-15 Thread Paul Kocialkowski
. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/sunxi-sram.txt b/Documentation/devicetree/bindings/sram/sunxi-sram.txt index 62dd0748f0ef..c043a6a4011e 100644

[PATCH 02/15] ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit address

2018-11-15 Thread Paul Kocialkowski
This cosmetic change removes the heading 0 in the video-codec unit address, as it's done for other nodes. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boo

[PATCH 00/15] Cedrus support for the Allwinner H5 and A64 platforms

2018-11-15 Thread Paul Kocialkowski
there for this purpose) on the H3 and H5. Some minor cosmetic fixes are also included regarding the video-codec addresses in the device-tree. Paul Kocialkowski (15): ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit

Re: [PATCH 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes

2018-11-16 Thread Paul Kocialkowski
Hi, Le vendredi 16 novembre 2018 à 17:47 +0800, Chen-Yu Tsai a écrit : > On Fri, Nov 16, 2018 at 5:39 PM Maxime Ripard > wrote: > > On Thu, Nov 15, 2018 at 03:50:06PM +0100, Paul Kocialkowski wrote: > > > Now that we have specific nodes for the H3 and H5 system-contro

Re: [PATCH 01/15] ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address

2018-11-16 Thread Paul Kocialkowski
Hi, Le jeudi 15 novembre 2018 à 23:50 +0800, Chen-Yu Tsai a écrit : > On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski > wrote: > > This cosmetic change removes the heading 0 in the video-codec unit > > address, as it's done for other nodes. > > > > Signed-

Re: Logitech QuickCam USB detected by Linux, but not user space applications

2018-11-16 Thread Paul Menzel
Dear Mauro, Thank you very much for the quick reply. On 11/15/18 12:38, Mauro Carvalho Chehab wrote: > Em Thu, 15 Nov 2018 11:42:32 +0100 Paul Menzel escreveu: >> I tried to get a Logitech QuickCam USB camera working, but unfortunately, it >> is >> not detected

Re: Logitech QuickCam USB detected by Linux, but not user space applications

2018-11-22 Thread Paul Menzel
Dear Hans, Am 22.11.18 um 13:43 schrieb Hans Verkuil: On 11/16/2018 03:39 PM, Paul Menzel wrote: On 11/15/18 12:38, Mauro Carvalho Chehab wrote: Em Thu, 15 Nov 2018 11:42:32 +0100 Paul Menzel escreveu: I tried to get a Logitech QuickCam USB camera working, but unfortunately, it is not

Re: [PATCH 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2018-11-23 Thread Paul Kocialkowski
Hi, On Wed, 2018-10-10 at 17:33 +0900, Tomasz Figa wrote: > Hi Paul, > > On Tue, Aug 28, 2018 at 5:02 PM Paul Kocialkowski > wrote: > > This introduces the required definitions for HEVC decoding support with > > stateless VPUs. The controls associated to the HEVC slic

[PATCH v2 0/2] HEVC/H.265 stateless support for V4L2 and Cedrus

2018-11-23 Thread Paul Kocialkowski
. Cheers! Paul Kocialkowski (2): media: v4l: Add definitions for the HEVC slice format and controls media: cedrus: Add HEVC/H.265 decoding support Documentation/media/uapi/v4l/biblio.rst | 9 + .../media/uapi/v4l/extended-controls.rst | 417 ++ .../media/uapi/v4l/pixfmt

[PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2018-11-23 Thread Paul Kocialkowski
, 4 bits. Signed-off-by: Paul Kocialkowski --- Documentation/media/uapi/v4l/biblio.rst | 9 + .../media/uapi/v4l/extended-controls.rst | 417 ++ .../media/uapi/v4l/pixfmt-compressed.rst | 15 + .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + .../media

[PATCH v2 2/2] media: cedrus: Add HEVC/H.265 decoding support

2018-11-23 Thread Paul Kocialkowski
This introduces support for HEVC/H.265 to the Cedrus VPU driver, with both uni-directional and bi-directional prediction modes supported. Field-coded (interlaced) pictures, custom quantization matrices and 10-bit output are not supported at this point. Signed-off-by: Paul Kocialkowski

Re: [PATCH] media: cedrus: Fix a NULL vs IS_ERR() check

2018-11-26 Thread Paul Kocialkowski
igned-off-by: Dan Carpenter Acked-by: Paul Kocialkowski Cheers, Paul > --- > drivers/staging/media/sunxi/cedrus/cedrus_hw.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_hw.c > b/drivers/staging/media/

Re: [PATCH] media: v4l: Fix MPEG-2 slice Intra DC Precision validation

2018-11-29 Thread Paul Kocialkowski
s: c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and > metadata") > Signed-off-by: Jonas Karlman Acked-by: Paul Kocialkowski Cheers, Paul > --- > > drivers/media/v4l2-core/v4l2-ctrls.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

[PATCH v2 0/1] media: cedrus: Remove global IRQ spin lock from the driver

2018-11-29 Thread Paul Kocialkowski
Changes since v1: * Reworked commit message as suggested by Maxime. Paul Kocialkowski (1): media: cedrus: Remove global IRQ spin lock from the driver drivers/staging/media/sunxi/cedrus/cedrus.c | 1 - drivers/staging/media/sunxi/cedrus/cedrus.h | 2 -- drivers/staging/media

[PATCH v2 1/1] media: cedrus: Remove global IRQ spin lock from the driver

2018-11-29 Thread Paul Kocialkowski
for future codec support. As a result, remove the global IRQ spin lock. Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard --- drivers/staging/media/sunxi/cedrus/cedrus.c | 1 - drivers/staging/media/sunxi/cedrus/cedrus.h | 2 -- drivers/staging/media/sunxi/cedrus

Re: [PATCH] media: cedrus: Remove global IRQ spin lock from the driver

2018-11-29 Thread Paul Kocialkowski
Hi, On Fri, 2018-11-16 at 11:47 +0100, Maxime Ripard wrote: > On Thu, Nov 15, 2018 at 03:39:55PM +0100, Paul Kocialkowski wrote: > > We initially introduced a spin lock to ensure that the VPU registers > > are not accessed concurrently between our setup function and IRQ > >

[PATCH v3] media: cedrus: Remove global IRQ spin lock from the driver

2018-11-30 Thread Paul Kocialkowski
for future codec support. As a result, remove the global IRQ spin lock. Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard --- Changes since v2: * Rebased on top of the next media tree. Changes since v1: * Reworked commit message as suggested by Maxime. drivers/staging/media/sunxi

Re: [PATCH v2 2/2] media: cedrus: Add H264 decoding support

2018-11-30 Thread Paul Kocialkowski
0x0-0x4000, 0x4000-0x8000 and so on, so the issue does not occur. I've discovered the issue while testing the H.265 series where I had added the PHYS_OFFSET subtraction and found that the issue applied to H.264 as well. Cheers, Paul > Signed-off-by: Maxime Ripard > --- >

Re: [linux-sunxi] [PATCH 14/15] arm64: dts: allwinner: h5: Add Video Engine and reserved memory node

2018-11-30 Thread Paul Kocialkowski
Hi, On Thu, 2018-11-15 at 23:35 +0800, Chen-Yu Tsai wrote: > On Thu, Nov 15, 2018 at 10:51 PM Paul Kocialkowski > wrote: > > This adds nodes for the Video Engine and the associated reserved memory > > for the H5. Up to 96 MiB of memory are dedicated to the CMA pool. > >

Re: [PATCH 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-11-30 Thread Paul Kocialkowski
Hi, On Fri, 2018-11-30 at 11:38 +0800, Chen-Yu Tsai wrote: > On Fri, Nov 16, 2018 at 12:52 AM Chen-Yu Tsai wrote: > > On Thu, Nov 15, 2018 at 10:50 PM Paul Kocialkowski > > wrote: > > > Add the H5-specific system control node description to its device-tree > >

[PATCH v2 02/15] ARM: dts: sun8i: a33: Remove unnecessary reserved memory node

2018-12-05 Thread Paul Kocialkowski
-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a33.dtsi | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index c2c10cd4a210..9ac4fae6c10d 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts

[PATCH v2 15/15] arm64: dts: allwinner: a64: Add Video Engine node

2018-12-05 Thread Paul Kocialkowski
This adds the Video Engine node for the A64. Since it can map the whole DRAM range, there is no particular need for a reserved memory node (unlike platforms preceding the A33). Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++ 1 file changed

[PATCH v2 11/15] dt-bindings: media: cedrus: Add compatibles for the A64 and H5

2018-12-05 Thread Paul Kocialkowski
This introduces two new compatibles for the cedrus driver, for the A64 and H5 platforms. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/cedrus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 13/15] media: cedrus: Add device-tree compatible and variant for A64 support

2018-12-05 Thread Paul Kocialkowski
Add the necessary compatible for supporting the A64 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus

[PATCH v2 12/15] media: cedrus: Add device-tree compatible and variant for H5 support

2018-12-05 Thread Paul Kocialkowski
Add the necessary compatible for supporting the H5 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus

[PATCH v2 14/15] arm64: dts: allwinner: h5: Add Video Engine node

2018-12-05 Thread Paul Kocialkowski
This adds the Video Engine node for the H5. Since it can map the whole DRAM range, there is no particular need for a reserved memory node (unlike platforms preceding the A33). Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 11 +++ 1 file changed, 11

[PATCH v2 09/15] dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1

2018-12-05 Thread Paul Kocialkowski
This introduces a new compatible for the A64 SRAM C1 section, that is compatible with the SRAM C1 section as found on the A10. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes

2018-12-05 Thread Paul Kocialkowski
driver use the node corresponding to the proper SRAM driver (by switching the syscon label over to each dtsi). This way, we no longer have two separate nodes for the same register space. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- arch/arm/boot/dts/sunxi

[PATCH v2 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1

2018-12-05 Thread Paul Kocialkowski
. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 22 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index b41dc1aab67d..42bfb560b367 100644 --- a

[PATCH v2 10/15] arm64: dts: allwinner: a64: Add support for the SRAM C1 section

2018-12-05 Thread Paul Kocialkowski
Add the description for the SRAM C1 section to the A64 device-tree. Since there is no entry for this section in the A64 manual, the base address and size were only verified to be consistent empirically. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14

[PATCH v2 06/15] soc: sunxi: sram: Add support for the H5 SoC system control

2018-12-05 Thread Paul Kocialkowski
This adds the H5 SoC compatible to the list of device-tree matches for the SRAM driver. Since the variant is the same as the A64 (that precedes the H5), the same variant description is used. Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 4 1 file changed, 4

[PATCH v2 03/15] ARM: dts: sun8i: h3: Remove unnecessary reserved memory node

2018-12-05 Thread Paul Kocialkowski
Just like on the A33, the video engine on the H3 can map any address in memory, so there is no particular need to have reserved memory at a fixed address. As a result, remove the reserved memory node and let the kernel allocate the CMA pool wherever it sees fit. Signed-off-by: Paul Kocialkowski

[PATCH v2 05/15] dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1

2018-12-05 Thread Paul Kocialkowski
. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/sunxi-sram.txt b/Documentation/devicetree/bindings/sram/sunxi-sram.txt index

[PATCH v2 04/15] soc: sunxi: sram: Enable EMAC clock access for H3 variant

2018-12-05 Thread Paul Kocialkowski
. Signed-off-by: Paul Kocialkowski Reviewed-by: Chen-Yu Tsai --- drivers/soc/sunxi/sunxi_sram.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 71e3ee4a3f19..fd81a3c0db45 100644 --- a/drivers/soc/sunxi

  1   2   3   4   5   >