Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-18 Thread Maxime Jourdan
On 18/10/2019 09:50, Maxime Jourdan wrote: On Wed, Oct 9, 2019 at 2:01 PM Hans Verkuil wrote: On 10/8/19 3:40 PM, Maxime Jourdan wrote: On 07/10/2019 18:39, Hans Verkuil wrote: On 10/7/19 6:24 PM, Maxime Jourdan wrote: On 07/10/2019 17:12, Hans Verkuil wrote: On 10/7/19 4:59 PM, Maxime

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-18 Thread Maxime Jourdan
On Wed, Oct 9, 2019 at 2:01 PM Hans Verkuil wrote: > > On 10/8/19 3:40 PM, Maxime Jourdan wrote: > > On 07/10/2019 18:39, Hans Verkuil wrote: > >> On 10/7/19 6:24 PM, Maxime Jourdan wrote: > >>> On 07/10/2019 17:12, Hans Verkuil wrote: > >>&

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-13 Thread Maxime Jourdan
Hi Nicolas, On 13/10/2019 03:08, Nicolas Dufresne wrote: Le lundi 07 octobre 2019 à 16:59 +0200, Maxime Jourdan a écrit : Hello, This patch series aims to bring H.264 support as well as compliance update to the amlogic stateful video decoder driver. There is 1 issue that remains currently

Re: [PATCH 2/2] media: meson: vdec: add H.264 decoding support

2019-10-08 Thread Maxime Jourdan
On Tue, Oct 8, 2019 at 10:44 PM Nicolas Dufresne wrote: > > Le mardi 08 octobre 2019 à 16:27 -0400, Nicolas Dufresne a écrit : > > Le lundi 07 octobre 2019 à 16:59 +0200, Maxime Jourdan a écrit : > > > Add support for the H264 compressed format (V4L2_PIX_FMT_H264). &

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-08 Thread Maxime Jourdan
On 07/10/2019 18:39, Hans Verkuil wrote: On 10/7/19 6:24 PM, Maxime Jourdan wrote: On 07/10/2019 17:12, Hans Verkuil wrote: On 10/7/19 4:59 PM, Maxime Jourdan wrote: Hello, This patch series aims to bring H.264 support as well as compliance update to the amlogic stateful video decoder driver

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-07 Thread Maxime Jourdan
On 07/10/2019 17:12, Hans Verkuil wrote: On 10/7/19 4:59 PM, Maxime Jourdan wrote: Hello, This patch series aims to bring H.264 support as well as compliance update to the amlogic stateful video decoder driver. There is 1 issue that remains currently: - The following codepath had

[PATCH 1/2] media: meson: vdec: bring up to compliance

2019-10-07 Thread Maxime Jourdan
the src buffers to the dst buffers, etc. Signed-off-by: Maxime Jourdan --- drivers/staging/media/meson/vdec/esparser.c | 34 ++-- drivers/staging/media/meson/vdec/vdec.c | 70 ++- drivers/staging/media/meson/vdec/vdec.h | 14 ++- .../staging/media/meson/vdec

[PATCH 2/2] media: meson: vdec: add H.264 decoding support

2019-10-07 Thread Maxime Jourdan
Add support for the H264 compressed format (V4L2_PIX_FMT_H264). Signed-off-by: Maxime Jourdan --- drivers/staging/media/meson/vdec/Makefile | 2 +- drivers/staging/media/meson/vdec/codec_h264.c | 482 ++ drivers/staging/media/meson/vdec/codec_h264.h | 14 + .../staging

[PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-07 Thread Maxime Jourdan
nar: Captured 250 buffers test MMAP (epoll): OK test USERPTR (select): OK (Not Supported) test DMABUF: Cannot test, specify --expbuf-device Total for meson-vdec device /dev/video0: 49, Succeeded: 49, Failed: 0, Warnings: 0 Maxime Jourdan (2): media: meson: vdec: bring up to c

[PATCH 3/3] arm64: dts: meson: add video decoder entries

2019-07-26 Thread Maxime Jourdan
This enables the video decoder for GXBB, GXL and GXM chips Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 +++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 11 +++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 4 3 files changed, 26

[PATCH 0/3] arm64: dts: meson: add the video decoder nodes

2019-07-26 Thread Maxime Jourdan
This series adds the dts nodes for the Amlogic video decoder for the GXBB (S905), GXL (S905X) and GXM (S912) SoCs. It also includes two misc. fixes for the bindings documentation: a missing generic compatible and changing the example node's type to something more conventional. Maxime Jourdan (3

[PATCH 2/3] arm64: dts: meson-gx: add video decoder entry

2019-07-26 Thread Maxime Jourdan
Add the base video decoder node compatible with the meson vdec driver, for GX* chips. Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts

[PATCH 1/3] dt-bindings: media: amlogic,vdec: add default compatible

2019-07-26 Thread Maxime Jourdan
cases when it comes to video decode/encode accelerators. Signed-off-by: Maxime Jourdan --- Documentation/devicetree/bindings/media/amlogic,vdec.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/amlogic,vdec.txt b/Documentation

Re: [PATCHv4 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-07-15 Thread Maxime Jourdan
On Tue, Jun 11, 2019 at 10:29 AM Hans Verkuil wrote: > > On 6/10/19 9:54 PM, Nicolas Dufresne wrote: > > Hi Hans, > > > > I went through it, and I think we are close to ready. Unfortunately, I > > believe the SOURCE_CHANGE event is still under specified. There was a > > post recently to try and

Re: [PATCH 1/3] media: meson: include linux/kthread.h

2019-06-17 Thread Maxime Jourdan
Hello Arnd, On Mon, Jun 17, 2019 at 1:17 PM Arnd Bergmann wrote: > > Without this header, we get a compilation error in some configurations: > > drivers/staging/media/meson/vdec/vdec.c: In function 'vdec_recycle_thread': > drivers/staging/media/meson/vdec/vdec.c:59:10: error: implicit declaration

Re: linux-next: Tree for Jun 12 (staging/media/meson/)

2019-06-13 Thread Maxime Jourdan
Hi Randy, On Wed, Jun 12, 2019 at 11:50 PM Randy Dunlap wrote: > > On 6/12/19 12:00 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190611: > > > > > on i386: > > ../drivers/staging/media/meson/vdec/vdec.c: In function ‘vdec_recycle_thread’: >

Re: [PATCH][next] staging: media: meson: remove redundant initialization of mpeg12

2019-06-13 Thread Maxime Jourdan
buf_idx) > static int codec_mpeg12_start(struct amvdec_session *sess) > { > struct amvdec_core *core = sess->core; > - struct codec_mpeg12 *mpeg12 = sess->priv; > + struct codec_mpeg12 *mpeg12; > int ret; > > mpeg12 = kzalloc(sizeof(*mpeg12), GFP_KERNEL); > -- > 2.20.1 > Thank you for the patch. Acked-by: Maxime Jourdan

[PATCH] media: MAINTAINERS: fix linux-media mailing list for meson drivers

2019-06-13 Thread Maxime Jourdan
Both MESON AO CEC and MESON VIDEO DECODER point to the wrong linux-media mailing list. Update it to linux-me...@vger.kernel.org. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ad2bf808b02c

Re: [PATCH -next] media: meson: vdec: Add missing kthread.h

2019-06-12 Thread Maxime Jourdan
; #include > #include > #include > +#include > #include > #include > #include > -- > 2.7.4 > > Thanks for the patch, sorry that this one slipped through. Acked-by: Maxime Jourdan

[PATCH v10 2/3] media: meson: add v4l2 m2m video decoder driver

2019-06-06 Thread Maxime Jourdan
(S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Signed-off-by: Maxime Jourdan --- drivers/staging/media/Kconfig |2 + drivers/staging/media/Makefile|1 + drivers/staging/media/meson/vdec/Kconfig | 11 + drivers

[PATCH v10 0/3] Add Amlogic video decoder driver

2019-06-06 Thread Maxime Jourdan
5/ [2] https://lore.kernel.org/patchwork/cover/993093/ [1] https://patchwork.kernel.org/cover/10595803/ [0] https://patchwork.kernel.org/cover/10583391/ Maxime Jourdan (3): dt-bindings: media: add Amlogic Video Decoder Bindings media: meson: add v4l2 m2m video decoder driver MAINTAINERS: Add meso

[PATCH v10 3/3] MAINTAINERS: Add meson video decoder

2019-06-06 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8fbf41865c2..7cf3ece9f0cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10222,6 +10222,14 @@ S

[PATCH v10 1/3] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-06-06 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

[PATCH v9 0/3] Add Amlogic video decoder driver

2019-06-06 Thread Maxime Jourdan
s://patchwork.kernel.org/cover/10595803/ [0] https://patchwork.kernel.org/cover/10583391/ Maxime Jourdan (3): dt-bindings: media: add Amlogic Video Decoder Bindings media: meson: add v4l2 m2m video decoder driver MAINTAINERS: Add meson video decoder .../bindings/media/amlogic,vdec.txt

[PATCH v9 3/3] MAINTAINERS: Add meson video decoder

2019-06-06 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8fbf41865c2..7cf3ece9f0cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10222,6 +10222,14 @@ S

[PATCH v9 2/3] media: meson: add v4l2 m2m video decoder driver

2019-06-06 Thread Maxime Jourdan
(S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Signed-off-by: Maxime Jourdan --- drivers/staging/media/Kconfig |2 + drivers/staging/media/Makefile|1 + drivers/staging/media/meson/vdec/Kconfig | 11 + drivers

[PATCH v9 1/3] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-06-06 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

Re: [PATCH v8 2/3] media: meson: add v4l2 m2m video decoder driver

2019-06-06 Thread Maxime Jourdan
Hi Hans, On Thu, Jun 6, 2019 at 2:32 PM Hans Verkuil wrote: > > While preparing this series for merging I came across the following checkpatch > and sparse warnings: > > checkpatch: > > CHECK: Alignment should match open parenthesis > #159: FILE:

[PATCH v8 3/3] MAINTAINERS: Add meson video decoder

2019-06-05 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8fbf41865c2..7cf3ece9f0cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10222,6 +10222,14 @@ S

[PATCH v8 2/3] media: meson: add v4l2 m2m video decoder driver

2019-06-05 Thread Maxime Jourdan
(S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Signed-off-by: Maxime Jourdan --- drivers/staging/media/Kconfig |2 + drivers/staging/media/Makefile|1 + drivers/staging/media/meson/vdec/Kconfig | 11 + drivers

[PATCH v8 1/3] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-06-05 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

[PATCH v8 0/3] Add Amlogic video decoder driver

2019-06-05 Thread Maxime Jourdan
ux-firmware.git/commit/?id=e04cc56d0e6b6ff05924ff88fdba1a438ee7d3c8 [4] https://patchwork.kernel.org/cover/10879959/ [3] https://patchwork.kernel.org/cover/10669875/ [2] https://lore.kernel.org/patchwork/cover/993093/ [1] https://patchwork.kernel.org/cover/10595803/ [0] https://patchwork.kernel.org/cover/10583391/ Maxime Jourdan

[PATCH v7 3/4] media: meson: add v4l2 m2m video decoder driver

2019-05-31 Thread Maxime Jourdan
(S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Signed-off-by: Maxime Jourdan --- drivers/staging/media/Kconfig |2 + drivers/staging/media/Makefile|1 + drivers/staging/media/meson/vdec/Kconfig | 11 + drivers

[PATCH v7 4/4] MAINTAINERS: Add meson video decoder

2019-05-31 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 429c6c624861..4aa50e83a494 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10215,6 +10215,14 @@ S

[PATCH v7 0/4] Add Amlogic video decoder driver

2019-05-31 Thread Maxime Jourdan
ux-firmware.git/commit/?id=e04cc56d0e6b6ff05924ff88fdba1a438ee7d3c8 [4] https://patchwork.kernel.org/cover/10879959/ [3] https://patchwork.kernel.org/cover/10669875/ [2] https://lore.kernel.org/patchwork/cover/993093/ [1] https://patchwork.kernel.org/cover/10595803/ [0] https://patchwork.kernel.org/cover/10583391/

[PATCH v7 2/4] media: videodev2: add V4L2_FMT_FLAG_FIXED_RESOLUTION

2019-05-31 Thread Maxime Jourdan
start. Add a enum_fmt format flag to tag those specific formats. Signed-off-by: Maxime Jourdan --- Documentation/media/uapi/v4l/vidioc-enum-fmt.rst | 6 ++ include/uapi/linux/videodev2.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation

[PATCH v7 1/4] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-05-31 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

[PATCH] ASoC: max98357a: Show KConfig entry

2019-05-27 Thread Maxime Jourdan
The SEI510 board features a standalone MAX98357A codec. Add a tristate prompt to allow selecting the codec. Signed-off-by: Maxime Jourdan --- sound/soc/codecs/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index

Re: [PATCH v6 3/4] media: meson: add v4l2 m2m video decoder driver

2019-05-27 Thread Maxime Jourdan
On Mon, May 27, 2019 at 4:54 PM Hans Verkuil wrote: > > On 5/27/19 4:44 PM, Maxime Jourdan wrote: > > Hi Hans, > > On Mon, May 27, 2019 at 12:04 PM Hans Verkuil wrote: > >> > >> Hi Maxime, > >> > >> First a high-level comment: I think t

Re: [PATCH v6 3/4] media: meson: add v4l2 m2m video decoder driver

2019-05-27 Thread Maxime Jourdan
a bit too soon to have this in mainline at this time. > > One other comment below: > > On 5/14/19 3:56 PM, Maxime Jourdan wrote: > > Amlogic SoCs feature a powerful video decoder unit able to > > decode many formats, with a performance of usually up to 4k60. > > > > Th

Re: [PATCH v2 1/5] dt-bindings: soc: amlogic: canvas: document support for Meson8/8b/8m2

2019-05-21 Thread Maxime Jourdan
On 20/05/2019 21:43, Martin Blumenstingl wrote: Signed-off-by: Martin Blumenstingl Acked-by: Maxime Jourdan

Re: [PATCH v2 2/5] soc: amlogic: canvas: add support for Meson8, Meson8b and Meson8m2

2019-05-21 Thread Maxime Jourdan
On Mon, May 20, 2019 at 9:44 PM Martin Blumenstingl wrote: > > Signed-off-by: Martin Blumenstingl Reviewed-by: Maxime Jourdan

Re: [PATCH 0/3] 32-bit Meson: add the canvas module

2019-05-20 Thread Maxime Jourdan
Hey Martin, so sorry for forgetting about this. On Thu, Apr 18, 2019 at 9:50 PM Martin Blumenstingl wrote: > > Hi Maxime, > > On Sat, Apr 13, 2019 at 8:54 PM Maxime Jourdan > wrote: > > > > Hi Martin, > > On Sat, Apr 13, 2019 at 7:15 PM Martin Blumenstingl

[PATCH v6 0/4] Add Amlogic video decoder driver

2019-05-14 Thread Maxime Jourdan
10669875/ [2] https://lore.kernel.org/patchwork/cover/993093/ [1] https://patchwork.kernel.org/cover/10595803/ [0] https://patchwork.kernel.org/cover/10583391/ Maxime Jourdan (4): dt-bindings: media: add Amlogic Video Decoder Bindings media: videodev2: add V4L2_FMT_FLAG_FIXED_RESOLUTION media: meson:

[PATCH v6 2/4] media: videodev2: add V4L2_FMT_FLAG_FIXED_RESOLUTION

2019-05-14 Thread Maxime Jourdan
start. Add a enum_fmt format flag to tag those specific formats. Signed-off-by: Maxime Jourdan --- Documentation/media/uapi/v4l/vidioc-enum-fmt.rst | 6 ++ include/uapi/linux/videodev2.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation

[PATCH v6 4/4] MAINTAINERS: Add meson video decoder

2019-05-14 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 878588cfb453..87c1e469ed63 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10057,6 +10057,14 @@ S

[PATCH v6 3/4] media: meson: add v4l2 m2m video decoder driver

2019-05-14 Thread Maxime Jourdan
(S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Tested-by: Neil Armstrong Signed-off-by: Maxime Jourdan --- drivers/media/platform/Kconfig| 10 + drivers/media/platform/meson/Makefile |1 + drivers/media/platform/meson/vdec/Makefile

[PATCH v6 1/4] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-05-14 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Reviewed-by: Rob Herring Signed-off-by: Maxime Jourdan --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

Re: [PATCH 0/3] 32-bit Meson: add the canvas module

2019-04-13 Thread Maxime Jourdan
Hi Martin, On Sat, Apr 13, 2019 at 7:15 PM Martin Blumenstingl wrote: > > This adds the canvas module on Meson8, Meson8b and Meson8m2. The canvas > IP is used by the video decoder hardware as well as the VPU (video > output) hardware. > > Neither the VPU nor the video decoder driver support the

Re: [PATCH 2/2] clk: meson: meson8b: add the video decoder clock trees

2019-03-21 Thread Maxime Jourdan
On Wed, Mar 20, 2019 at 9:53 PM Martin Blumenstingl wrote: > > Hi Maxime, > > On Wed, Mar 20, 2019 at 12:16 PM Maxime Jourdan wrote: > > > > Hi Martin, thanks for looking into the video decoder for meson8! > you're welcome - this is only possible because of your

Re: [PATCH 2/2] clk: meson: meson8b: add the video decoder clock trees

2019-03-20 Thread Maxime Jourdan
Hi Martin, thanks for looking into the video decoder for meson8! On Tue, Mar 19, 2019 at 11:00 PM Martin Blumenstingl wrote: > > This adds the four video decoder clock trees. > > VDEC_1 is split into two paths on Meson8b and Meson8m2: > - input mux called "vdec_1_sel" > - two dividers

[PATCH] clk: meson-gxbb: round the vdec dividers to closest

2019-03-19 Thread Maxime Jourdan
: add the video decoder clocks") Signed-off-by: Maxime Jourdan --- drivers/clk/meson/gxbb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 04df2e208ed6..29ffb4fde714 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/me

[PATCH v2 1/2] dt-bindings: clk: g12a-clkc: add VDEC clock IDs

2019-03-19 Thread Maxime Jourdan
Expose the three clocks related to the video decoder. Signed-off-by: Maxime Jourdan --- include/dt-bindings/clock/g12a-clkc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h index 30303728fe09..82c9e0c020b2

[PATCH v2 0/2] clk: meson: add video decoder clocks for G12A

2019-03-19 Thread Maxime Jourdan
ND_CLOSEST to the dividers in addition to the muxes [0] https://patchwork.kernel.org/cover/10842969/ [1] https://patchwork.kernel.org/cover/10859115/ Maxime Jourdan (2): dt-bindings: clk: g12a-clkc: add VDEC clock IDs clk: meson-g12a: add video decoder clocks drivers/clk/meson/g12a.c

[PATCH v2 2/2] clk: meson-g12a: add video decoder clocks

2019-03-19 Thread Maxime Jourdan
n two parts for G12A. Signed-off-by: Maxime Jourdan --- drivers/clk/meson/g12a.c | 163 +++ drivers/clk/meson/g12a.h | 8 +- 2 files changed, 170 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 3a3134976534.

Re: [PATCH 2/2] clk: meson-g12a: add video decoder clocks

2019-03-19 Thread Maxime Jourdan
Hi Jerome, On Tue, Mar 19, 2019 at 10:09 AM Jerome Brunet wrote: > > On Tue, 2019-03-19 at 09:50 +0100, Maxime Jourdan wrote: > > A complete sentence would have been nice ;) > > Add the video decoder clocks which are ... > Sorry about that, I'll apply myself in the future.

[PATCH 0/2] clk: meson: add video decoder clocks for G12A

2019-03-19 Thread Maxime Jourdan
As to not conflict with the IDs, this patch series is based on Neil's last unmerged patch series: "clk: meson: add support for PCIE PLL" Clocks are mostly the same as meson-gx, except for VDEC_HEVC which is now split in two, HEVC and HEVCF. Maxime Jourdan (2): dt-bindings: clk: g12a

[PATCH 1/2] dt-bindings: clk: g12a-clkc: add VDEC clock IDs

2019-03-19 Thread Maxime Jourdan
Expose the three clocks related to the video decoder. Signed-off-by: Maxime Jourdan --- include/dt-bindings/clock/g12a-clkc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h index 30303728fe09..82c9e0c020b2

[PATCH 2/2] clk: meson-g12a: add video decoder clocks

2019-03-19 Thread Maxime Jourdan
Mostly like meson-gx, except that the VDEC_HEVC clock is now split in two: HEVC and HEVCF. Signed-off-by: Maxime Jourdan --- drivers/clk/meson/g12a.c | 160 +++ drivers/clk/meson/g12a.h | 8 +- 2 files changed, 167 insertions(+), 1 deletion(-) diff --git

[PATCH] clk: meson: g12a: fix VPU clock muxes mask

2019-03-19 Thread Maxime Jourdan
There are 8 parents, use 0x7 Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Signed-off-by: Maxime Jourdan --- drivers/clk/meson/g12a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g1

Re: [PATCH] drm/meson: handle when meson_canvas_get returns -EPROBE_DEFER

2019-03-11 Thread Maxime Jourdan
Hi Neil, On Mon, Feb 4, 2019 at 10:55 AM Neil Armstrong wrote: > > When meson_canvas is not yet probed, meson_canvas_get returns -EPROBE_DEFER. > > Handle this case but deferring the probe of the drm driver aswell. > > Fixes: 66cae477c380 ("drm/meson: Use optional canvas provider") >

Re: [PATCH] dt-bindings: clock: axg-audio: unexpose controller inputs

2019-02-13 Thread Maxime Jourdan
ine AUD_CLKID_SLV_LRCLK8 27 > -#define AUD_CLKID_SLV_LRCLK9 28 > #define AUD_CLKID_DDR_ARB 29 > #define AUD_CLKID_PDM 30 > #define AUD_CLKID_TDMIN_A 31 > -- > 2.20.1 > Acked-by: Maxime Jourdan

Re: [PATCH] soc: amlogic: canvas: Fix meson_canvas_get when probe failed

2019-02-04 Thread Maxime Jourdan
>dev); > + if (!canvas) > + return ERR_PTR(-EINVAL); > + > + return canvas; > } > EXPORT_SYMBOL_GPL(meson_canvas_get); > > -- > 2.20.1 > > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel Thanks for the patch, I missed the fact that a driver could have a pdev yet with a failed probe. Reviewed-by: Maxime Jourdan

[PATCH v3 2/2] arm64: dts: meson-gx: add support for simplefb

2019-01-16 Thread Maxime Jourdan
SimpleFB allows transferring a framebuffer from the firmware/bootloader to the kernel, while making sure the related clocks and power supplies stay enabled. Add nodes for CVBS and HDMI Simple Framebuffers. Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 22

[PATCH v3 0/2] arm64: dts: meson: add simple-framebuffer nodes

2019-01-16 Thread Maxime Jourdan
si [1] https://patchwork.kernel.org/patch/10720879/ [2] https://patchwork.kernel.org/cover/10750205/ [3] https://patchwork.ozlabs.org/project/uboot/list/?series=86214 Maxime Jourdan (2): dt-bindings: meson: add specific simplefb bindings arm64: dts: meson-gx: add support for simplefb .../display/

[PATCH v3 1/2] dt-bindings: meson: add specific simplefb bindings

2019-01-16 Thread Maxime Jourdan
Similar to simple-framebuffer-sunxi, we support different display pipelines that the firmware is free to choose from. This documents the "amlogic,simple-framebuffer" compatible and the "amlogic,pipeline" extension. Reviewed-by: Rob Herring Signed-off-by: Maxime Jourdan ---

Re: [PATCH v2 1/2] dt-bindings: meson: add specific simplefb bindings

2019-01-16 Thread Maxime Jourdan
On Fri, Jan 11, 2019 at 11:25 PM Rob Herring wrote: > > On Mon, Jan 07, 2019 at 10:53:06AM +0100, Maxime Jourdan wrote: > > Similar to simple-framebuffer-sunxi, we support different display pipelines > > that the firmware is free to choose from. > > > > This

[PATCH] arm64: dts: meson-gx: Add canvas provider node to the vpu

2019-01-14 Thread Maxime Jourdan
Allows the vpu driver to optionally use a canvas provider node. Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index

[PATCH v2 2/2] arm64: dts: meson-gx: add support for simplefb

2019-01-07 Thread Maxime Jourdan
SimpleFB allows transferring a framebuffer from the firmware/bootloader to the kernel, while making sure the related clocks and power supplies stay enabled. Add nodes for CVBS and HDMI Simple Framebuffers. Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 22

[PATCH v2 1/2] dt-bindings: meson: add specific simplefb bindings

2019-01-07 Thread Maxime Jourdan
Similar to simple-framebuffer-sunxi, we support different display pipelines that the firmware is free to choose from. This documents the "amlogic,simple-framebuffer" compatible and the "amlogic,pipeline" extension. Signed-off-by: Maxime Jourdan --- .../display/simple-f

[PATCH v2 0/2] arm64: dts: meson: add simple-framebuffer nodes

2019-01-07 Thread Maxime Jourdan
yet. Changes since v1 [1]: - added cover letter - added simple-framebuffer compatible fallback to the bindings - Updated node names and removed the unit-address - Consolidated base nodes in meson-gx.dtsi [1] https://patchwork.kernel.org/patch/10720879/ Maxime Jourdan (2): dt-bindings: m

Re: [PATCH 1/2] dt-bindings: meson: add specific simplefb bindings

2018-12-12 Thread Maxime Jourdan
Hi Neil, On Wed, Dec 12, 2018 at 10:54 AM Neil Armstrong wrote: > > Hi Maxime, > > On 10/12/2018 10:06, Maxime Jourdan wrote: > > Similar to simple-framebuffer-sunxi, we support different display pipelines > > that the firmware is free to choose from. > > > >

Re: [PATCH RESEND] drm/meson: remove firmware framebuffers

2018-12-12 Thread Maxime Jourdan
Hi Neil, On Wed, Dec 12, 2018 at 10:55 AM Neil Armstrong wrote: > > Hi Maxime, > > On 10/12/2018 10:28, Maxime Jourdan wrote: > > In case we are using simplefb or another conflicting framebuffer, make > > the call to drm_fb_helper_remove_conflicting_framebuffers() >

[PATCH RESEND] drm/meson: remove firmware framebuffers

2018-12-10 Thread Maxime Jourdan
In case we are using simplefb or another conflicting framebuffer, make the call to drm_fb_helper_remove_conflicting_framebuffers() Signed-off-by: Maxime Jourdan --- drivers/gpu/drm/meson/meson_drv.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/meson

Re: [PATCH] drm/meson: remove firmware framebuffers

2018-12-10 Thread Maxime Jourdan
On Mon, Dec 10, 2018 at 10:05 AM Maxime Jourdan wrote: > > In case we are using simplefb or another conflicting framebuffer, make > the call to drm_fb_helper_remove_conflicting_framebuffers() > > Signed-off-by: Maxime Jourdan > --- > drivers/gpu/drm/m

[PATCH 1/2] dt-bindings: meson: add specific simplefb bindings

2018-12-10 Thread Maxime Jourdan
Similar to simple-framebuffer-sunxi, we support different display pipelines that the firmware is free to choose from. This documents the "amlogic,simple-framebuffer" compatible and the "amlogic,pipeline" extension. Signed-off-by: Maxime Jourdan --- .../display/simple-f

[PATCH 2/2] arm64: dts: meson-gx: add support for simplefb

2018-12-10 Thread Maxime Jourdan
SimpleFB allows transferring a framebuffer from the firmware/bootloader to the kernel, while making sure the related clocks and power supplies stay enabled. Add nodes for CVBS and HDMI Simple Framebuffers. Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 25

[PATCH] drm/meson: remove firmware framebuffers

2018-12-10 Thread Maxime Jourdan
In case we are using simplefb or another conflicting framebuffer, make the call to drm_fb_helper_remove_conflicting_framebuffers() Signed-off-by: Maxime Jourdan --- drivers/gpu/drm/meson/meson_drv.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/gpu/drm/meson

Re: [PATCH] media: videodev2: add V4L2_FMT_FLAG_NO_SOURCE_CHANGE

2018-12-07 Thread Maxime Jourdan
Hi Hans, Tomasz, Sorry I missed your messages last week..! On Fri, Nov 30, 2018 at 8:35 AM Hans Verkuil wrote: > > On 11/29/2018 08:35 PM, Tomasz Figa wrote: > > On Thu, Nov 29, 2018 at 1:01 AM Hans Verkuil wrote: > >> > >> On 10/04/2018 03:37 PM, Maxime Jourdan w

[PATCH] drivers: soc: Allow building the amlogic drivers without ARCH_MESON

2018-11-12 Thread Maxime Jourdan
The current condition makes it difficult to compile the amlogic/ drivers with COMPILE_TEST, or without ARCH_MESON in general. Fixes kbuild errors with patch series that depend on drivers in that directory, for instance the meson video decoder. Signed-off-by: Maxime Jourdan --- drivers/soc

[PATCH] drivers: soc: Allow building the amlogic drivers without ARCH_MESON

2018-11-12 Thread Maxime Jourdan
The current condition makes it difficult to compile the amlogic/ drivers with COMPILE_TEST, or without ARCH_MESON in general. Fixes kbuild errors with patch series that depend on drivers in that directory, for instance the meson video decoder. Signed-off-by: Maxime Jourdan --- drivers/soc

Re: [PATCH 0/2] drm/meson: Allow using optional canvas provider

2018-11-05 Thread Maxime Jourdan
Hi Neil, On Mon, Nov 5, 2018 at 1:51 PM Neil Armstrong wrote: > > Hi Maxime, > > On 05/11/2018 11:45, Maxime Jourdan wrote: > > The meson DRM driver currently uses constant, static canvas indexes. > > > > This is not optimal and could conflict with other d

Re: [PATCH 0/2] drm/meson: Allow using optional canvas provider

2018-11-05 Thread Maxime Jourdan
Hi Neil, On Mon, Nov 5, 2018 at 1:51 PM Neil Armstrong wrote: > > Hi Maxime, > > On 05/11/2018 11:45, Maxime Jourdan wrote: > > The meson DRM driver currently uses constant, static canvas indexes. > > > > This is not optimal and could conflict with other d

Re: [PATCH v3 2/3] soc: amlogic: add meson-canvas driver

2018-09-06 Thread Maxime Jourdan
Hi Kevin, Please create an immutable tag for this patch, as this is a hard dependency for the video decoder patches. This will make it easier for Mauro. Thanks, Maxime

Re: [PATCH v3 2/3] soc: amlogic: add meson-canvas driver

2018-09-06 Thread Maxime Jourdan
Hi Kevin, Please create an immutable tag for this patch, as this is a hard dependency for the video decoder patches. This will make it easier for Mauro. Thanks, Maxime

Re: [PATCH v3 3/3] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-09-06 Thread Maxime Jourdan
Hi Kevin, If you don't mind, please change the title from "ARM64" to "arm64" if this gets merged. Thanks! Maxime

Re: [PATCH v3 3/3] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-09-06 Thread Maxime Jourdan
Hi Kevin, If you don't mind, please change the title from "ARM64" to "arm64" if this gets merged. Thanks! Maxime

[PATCH v3 3/3] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-08-23 Thread Maxime Jourdan
DMC is a small memory region with various registers, including the ones needed for the canvas module. Reviewed-by: Jerome Brunet Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v3 0/3] soc: amlogic: add meson-canvas

2018-08-23 Thread Maxime Jourdan
Maxime Jourdan (3): dt-bindings: soc: amlogic: add meson-canvas documentation soc: amlogic: add meson-canvas driver ARM64: dts: meson-gx: add dmcbus and canvas nodes. .../bindings/soc/amlogic/amlogic,canvas.txt | 29 +++ arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 ++ drivers/soc

[PATCH v3 1/3] dt-bindings: soc: amlogic: add meson-canvas documentation

2018-08-23 Thread Maxime Jourdan
DT bindings doc for amlogic,meson-canvas Reviewed-by: Jerome Brunet Signed-off-by: Maxime Jourdan --- .../bindings/soc/amlogic/amlogic,canvas.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt

[PATCH v3 3/3] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-08-23 Thread Maxime Jourdan
DMC is a small memory region with various registers, including the ones needed for the canvas module. Reviewed-by: Jerome Brunet Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v3 0/3] soc: amlogic: add meson-canvas

2018-08-23 Thread Maxime Jourdan
Maxime Jourdan (3): dt-bindings: soc: amlogic: add meson-canvas documentation soc: amlogic: add meson-canvas driver ARM64: dts: meson-gx: add dmcbus and canvas nodes. .../bindings/soc/amlogic/amlogic,canvas.txt | 29 +++ arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 ++ drivers/soc

[PATCH v3 1/3] dt-bindings: soc: amlogic: add meson-canvas documentation

2018-08-23 Thread Maxime Jourdan
DT bindings doc for amlogic,meson-canvas Reviewed-by: Jerome Brunet Signed-off-by: Maxime Jourdan --- .../bindings/soc/amlogic/amlogic,canvas.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.txt

[PATCH v3 2/3] soc: amlogic: add meson-canvas driver

2018-08-23 Thread Maxime Jourdan
Signed-off-by: Maxime Jourdan --- drivers/soc/amlogic/Kconfig | 7 + drivers/soc/amlogic/Makefile | 1 + drivers/soc/amlogic/meson-canvas.c | 185 +++ include/linux/soc/amlogic/meson-canvas.h | 65 4 files changed, 258 insertions

[PATCH v3 2/3] soc: amlogic: add meson-canvas driver

2018-08-23 Thread Maxime Jourdan
Signed-off-by: Maxime Jourdan --- drivers/soc/amlogic/Kconfig | 7 + drivers/soc/amlogic/Makefile | 1 + drivers/soc/amlogic/meson-canvas.c | 185 +++ include/linux/soc/amlogic/meson-canvas.h | 65 4 files changed, 258 insertions

Re: [PATCH v2 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation

2018-08-13 Thread Maxime Jourdan
2018-08-13 21:07 GMT+02:00 Rob Herring : > On Wed, Aug 08, 2018 at 12:00:09AM +0200, Maxime Jourdan wrote: >> DT bindings doc for amlogic,meson-canvas >> >> Signed-off-by: Maxime Jourdan >> --- >> .../soc/amlogic/amlogic,meson-canvas.txt | 36 +

Re: [PATCH v2 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation

2018-08-13 Thread Maxime Jourdan
2018-08-13 21:07 GMT+02:00 Rob Herring : > On Wed, Aug 08, 2018 at 12:00:09AM +0200, Maxime Jourdan wrote: >> DT bindings doc for amlogic,meson-canvas >> >> Signed-off-by: Maxime Jourdan >> --- >> .../soc/amlogic/amlogic,meson-canvas.txt | 36 +

Re: [PATCH v2 3/4] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-08-10 Thread Maxime Jourdan
2018-08-09 9:53 GMT+02:00 Neil Armstrong : > On 08/08/2018 10:41, Jerome Brunet wrote: >> On Wed, 2018-08-08 at 00:00 +0200, Maxime Jourdan wrote: >>> Wrap the canvas node in a syscon node. >>> >>> Signed-off-by: Maxime Jourdan >>> --- >&g

Re: [PATCH v2 3/4] ARM64: dts: meson-gx: add dmcbus and canvas nodes.

2018-08-10 Thread Maxime Jourdan
2018-08-09 9:53 GMT+02:00 Neil Armstrong : > On 08/08/2018 10:41, Jerome Brunet wrote: >> On Wed, 2018-08-08 at 00:00 +0200, Maxime Jourdan wrote: >>> Wrap the canvas node in a syscon node. >>> >>> Signed-off-by: Maxime Jourdan >>> --- >&g

Re: [PATCH v2 1/4] soc: amlogic: add meson-canvas driver

2018-08-10 Thread Maxime Jourdan
2018-08-08 17:10 GMT+02:00 Neil Armstrong : > On 08/08/2018 09:45, Jerome Brunet wrote: >> On Wed, 2018-08-08 at 00:00 +0200, Maxime Jourdan wrote: >>> Amlogic SoCs have a repository of 256 canvas which they use to >>> describe pixel buffers. >>> >>> Th

  1   2   >