[PATCH 1/2] drm/meson: dw-hdmi: power up phy on device init

2024-04-26 Thread Jerome Brunet
callback to power up the PHY on init and leave only what is necessary for mode changes in the related function. This is enough to fix CEC operation when HDMI display is not enabled. Fixes: 3f68be7d8e96 ("drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY") Signed-off-by: Jer

[PATCH 2/2] drm/meson: dw-hdmi: add bandgap setting for g12

2024-04-26 Thread Jerome Brunet
. This is done by restoring init values on PHY init and disable. Fixes: 3b7c1237a72a ("drm/meson: Add G12A support for the DW-HDMI Glue") Signed-off-by: Jerome Brunet --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 43 --- 1 file changed, 26 insertions(+), 17 deletions(-)

[PATCH 0/2] drm/meson: fix hdmi auxiliary system operation without display

2024-04-26 Thread Jerome Brunet
the problem. Jerome Brunet (2): drm/meson: dw-hdmi: power up phy on device init drm/meson: dw-hdmi: add bandgap setting for g12 drivers/gpu/drm/meson/meson_dw_hdmi.c | 70 --- 1 file changed, 31 insertions(+), 39 deletions(-) -- 2.43.0

Re: (subset) [PATCH v12 0/7] drm/meson: add support for MIPI DSI Display

2024-04-10 Thread Jerome Brunet
Applied to clk-meson (v6.10/drivers), thanks! [2/7] clk: meson: add vclk driver https://github.com/BayLibre/clk-meson/commit/bb5aa08572b5 [3/7] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF https://github.com/BayLibre/clk-meson/commit/b70cb1a21a54 Best regards,

Re: [PATCH v12 2/7] clk: meson: add vclk driver

2024-04-05 Thread Jerome Brunet
On Thu 04 Apr 2024 at 18:59, Neil Armstrong wrote: > On 04/04/2024 10:13, Jerome Brunet wrote: >> On Wed 03 Apr 2024 at 09:46, Neil Armstrong >> wrote: >> >>> The VCLK and VCLK_DIV clocks have supplementary bits. >>> >>> The VCLK gate has a &qu

Re: [PATCH v12 2/7] clk: meson: add vclk driver

2024-04-04 Thread Jerome Brunet
On Wed 03 Apr 2024 at 09:46, Neil Armstrong wrote: > The VCLK and VCLK_DIV clocks have supplementary bits. > > The VCLK gate has a "SOFT RESET" bit to toggle after the whole > VCLK sub-tree rate has been set, this is implemented in > the gate enable callback. > > The VCLK_DIV clocks as enable

Re: [PATCH v11 3/7] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2024-03-29 Thread Jerome Brunet
On Mon 25 Mar 2024 at 12:09, Neil Armstrong wrote: > In order to setup the DSI clock, let's make the unused VCLK2 clock path > configuration via CCF. > > The nocache option is removed from following clocks: > - vclk2_sel > - vclk2_input > - vclk2_div > - vclk2 > - vclk_div1 > - vclk2_div2_en >

Re: [PATCH v11 2/7] clk: meson: add vclk driver

2024-03-29 Thread Jerome Brunet
On Mon 25 Mar 2024 at 12:09, Neil Armstrong wrote: > The VCLK and VCLK_DIV clocks have supplementary bits. > > The VCLK gate has a "SOFT RESET" bit to toggle after the whole > VCLK sub-tree rate has been set, this is implemented in > the gate enable callback. > > The VCLK_DIV clocks as enable

Re: [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void

2023-12-15 Thread Jerome Brunet
On Wed 13 Dec 2023 at 17:44, Neil Armstrong wrote: > Hi Maxime, > > Le 13/12/2023 à 09:36, Maxime Ripard a écrit : >> Hi, >> On Wed, Dec 13, 2023 at 08:43:00AM +0100, Uwe Kleine-König wrote: >>> On Wed, Dec 13, 2023 at 08:16:04AM +0100, Maxime Ripard wrote: On Tue, Dec 12, 2023 at

Re: [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void

2023-12-15 Thread Jerome Brunet
On Wed 13 Dec 2023 at 08:16, Maxime Ripard wrote: > [[PGP Signed Part:Undecided]] > Hi, > > On Tue, Dec 12, 2023 at 06:26:37PM +0100, Uwe Kleine-König wrote: >> Hello, >> >> clk_rate_exclusive_get() returns zero unconditionally. Most users "know" >> that and don't check the return value. This

Re: [PATCH v9 07/12] clk: meson: add vclk driver

2023-11-27 Thread Jerome Brunet
On Mon 27 Nov 2023 at 17:14, Neil Armstrong wrote: > On 24/11/2023 15:41, Jerome Brunet wrote: >> On Fri 24 Nov 2023 at 09:41, Neil Armstrong >> wrote: >> >>> The VCLK and VCLK_DIV clocks have supplementary bits. >>> >>> The VCLK has a "S

Re: [PATCH v9 08/12] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2023-11-27 Thread Jerome Brunet
>> >>> >>> I suspect mipi_dsi_pxclk_div was added to achieve fractional vclk/bitclk >>> ratios, >>> since it doesn't exist on AXG. Not sure we would ever need it... and none >>> of the other upstream DSI drivers supports such setups. >>> >>> The main reasons I set only mipi_dsi_pxclk in DT is

Re: (subset) [PATCH v9 00/12] drm/meson: add support for MIPI DSI Display

2023-11-24 Thread Jerome Brunet
Applied to clk-meson (v6.8/drivers), thanks! [01/12] dt-bindings: clk: g12a-clkc: add CTS_ENCL clock ids https://github.com/BayLibre/clk-meson/commit/bd5ef3f21d17 [06/12] clk: meson: g12a: add CTS_ENCL & CTS_ENCL_SEL clocks https://github.com/BayLibre/clk-meson/commit/5de4e8353e32

Re: [PATCH v9 08/12] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2023-11-24 Thread Jerome Brunet
On Fri 24 Nov 2023 at 16:15, Neil Armstrong wrote: > On 24/11/2023 15:12, Jerome Brunet wrote: >> On Fri 24 Nov 2023 at 09:41, Neil Armstrong >> wrote: >> >>> In order to setup the DSI clock, let's make the unused VCLK2 clock path >>> configurat

Re: [PATCH v9 07/12] clk: meson: add vclk driver

2023-11-24 Thread Jerome Brunet
On Fri 24 Nov 2023 at 09:41, Neil Armstrong wrote: > The VCLK and VCLK_DIV clocks have supplementary bits. > > The VCLK has a "SOFT RESET" bit to toggle after the whole > VCLK sub-tree rate has been set, this is implemented in > the gate enable callback. > > The VCLK_DIV clocks as enable and

Re: [PATCH v9 08/12] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2023-11-24 Thread Jerome Brunet
On Fri 24 Nov 2023 at 09:41, Neil Armstrong wrote: > In order to setup the DSI clock, let's make the unused VCLK2 clock path > configuration via CCF. > > The nocache option is removed from following clocks: > - vclk2_sel > - vclk2_input > - vclk2_div > - vclk2 > - vclk_div1 > - vclk2_div2_en >

Re: [PATCH v7 4/9] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2023-08-04 Thread Jerome Brunet
On Thu 03 Aug 2023 at 14:03, Neil Armstrong wrote: > In order to setup the DSI clock, let's make the unused VCLK2 clock path > configuration via CCF. > > The nocache option is removed from following clocks: > - vclk2_sel > - vclk2_input > - vclk2_div > - vclk2 > - vclk_div1 > - vclk2_div2_en >

Re: [PATCH v7 2/9] clk: meson: g12a: add CTS_ENCL & CTS_ENCL_SEL clocks

2023-08-04 Thread Jerome Brunet
On Thu 03 Aug 2023 at 14:03, Neil Armstrong wrote: > Add new CTS_ENCL & CTS_ENCL_SEL clocks for the G12A compatible > SoCs, they are used to feed the VPU LCD Pixel encoder used for > DSI display purposes. > > Signed-off-by: Neil Armstrong > --- > drivers/clk/meson/g12a.c | 40

Re: [PATCH v7 3/9] clk: meson: add vclk driver

2023-08-04 Thread Jerome Brunet
On Thu 03 Aug 2023 at 14:03, Neil Armstrong wrote: > The VCLK and VCLK_DIV clocks have supplementary bits. > > The VCLK has a "SOFT RESET" bit to toggle after the whole > VCLK sub-tree rate has been set, this is implemented in > the gate enable callback. > > The VCLK_DIV clocks as enable and

Re: [PATCH v5 01/17] clk: meson: g12a: prefix private CLK IDs defines with PRIV

2023-05-31 Thread Jerome Brunet
On Tue 30 May 2023 at 17:56, Neil Armstrong wrote: > On 30/05/2023 10:08, Jerome Brunet wrote: >> On Tue 30 May 2023 at 09:38, Neil Armstrong >> wrote: >> >>> Exposing should not be done in a single commit anymore due to >>> dt-bindings enforced rules.

Re: [PATCH v5 05/17] clk: meson: g12a: make VCLK2 and ENCL clock path configurable by CCF

2023-05-30 Thread Jerome Brunet
On Tue 30 May 2023 at 09:38, Neil Armstrong wrote: > In order to setup the DSI clock, let's make the unused VCLK2 clock path > configuration via CCF. > > The nocache option is removed from following clocks: > - vclk2_sel > - vclk2_input > - vclk2_div > - vclk2 > - vclk_div1 > - vclk2_div2_en >

Re: [PATCH v5 01/17] clk: meson: g12a: prefix private CLK IDs defines with PRIV

2023-05-30 Thread Jerome Brunet
On Tue 30 May 2023 at 09:38, Neil Armstrong wrote: > Exposing should not be done in a single commit anymore due to > dt-bindings enforced rules. > > Prepend PRIV to the private CLK IDs so we can add new clock to > the bindings header and in a separate commit remove such private > define and

Re: [PATCH v4 01/13] dt-bindings: clk: g12a-clkc: export VCLK2_SEL and add CTS_ENCL clock ids

2023-05-30 Thread Jerome Brunet
On Tue 16 May 2023 at 11:00, Neil Armstrong wrote: > On 16/05/2023 10:44, Arnd Bergmann wrote: >> On Mon, May 15, 2023, at 18:22, neil.armstr...@linaro.org wrote: >>> On 15/05/2023 18:15, Krzysztof Kozlowski wrote: On 15/05/2023 18:13, Krzysztof Kozlowski wrote: Also one more

Re: [PATCH 1/2] drm/meson: dw-hdmi: Disable clocks on driver teardown

2020-11-23 Thread Jerome Brunet
On Fri 20 Nov 2020 at 10:42, Marc Zyngier wrote: > The HDMI driver request clocks early, but never disable them, leaving > the clocks on even when the driver is removed. > > Fix it by slightly refactoring the clock code, and register a devm > action that will eventually disable/unprepare the

Re: next/master bisection: baseline.dmesg.emerg on meson-gxbb-p200

2020-11-19 Thread Jerome Brunet
On Thu 19 Nov 2020 at 19:04, Guillaume Tucker wrote: > Hi Marc, > > On 19/11/2020 11:58, Marc Zyngier wrote: >> On 2020-11-19 10:26, Neil Armstrong wrote: >>> On 19/11/2020 11:20, Marc Zyngier wrote: On 2020-11-19 08:50, Guillaume Tucker wrote: > Please see the automated bisection

Re: [PATCH v6 2/4] drm: dw-hdmi-i2s: Use fixed id for codec device

2019-09-18 Thread Jerome Brunet
On Wed 18 Sep 2019 at 10:24, Cheng-Yi Chiang wrote: > The problem of using auto ID is that the device name will be like > hdmi-audio-codec..auto. > > The number might be changed when there are other platform devices being > created before hdmi-audio-codec device. > Use a fixed name so machine

[PATCH v2 5/8] drm/bridge: dw-hdmi-i2s: set the channel allocation

2019-08-15 Thread Jerome Brunet
setup the channel allocation provided by the generic hdmi-codec driver Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b

[PATCH v2 6/8] drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params

2019-08-15 Thread Jerome Brunet
When changing the audio hw params, reset the audio fifo to make sure any old remaining data is flushed. The databook mentions that such reset should be followed by a reset of the i2s block to make sure the samples stay aligned Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet

Re: [PATCH v2 0/8] drm/bridge: dw-hdmi: improve i2s support

2019-08-15 Thread Jerome Brunet
On Mon 12 Aug 2019 at 14:19, Neil Armstrong wrote: > Hi, > > On 12/08/2019 14:07, Jerome Brunet wrote: >> The purpose of this patchset is to improve the support of the i2s >> interface of the synopsys hdmi controller. >> >> Once applied, the interface sho

[PATCH v2 0/8] drm/bridge: dw-hdmi: improve i2s support

2019-08-15 Thread Jerome Brunet
://lkml.kernel.org/r/20190805134102.24173-1-jbru...@baylibre.com Jerome Brunet (8): drm/bridge: dw-hdmi-i2s: support more i2s format drm/bridge: dw-hdmi: move audio channel setup out of ahb drm/bridge: dw-hdmi: set channel count in the infoframes drm/bridge: dw-hdmi-i2s: enable lpcm multi

[RESEND PATCH v2 8/8] drm/bridge: dw-hdmi-i2s: add .get_eld support

2019-08-12 Thread Jerome Brunet
Provide the eld to the generic hdmi-codec driver. This will let the driver enforce the maximum channel number and set the channel allocation depending on the hdmi sink. Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h | 1 + drivers/gpu

[PATCH v2 1/8] drm/bridge: dw-hdmi-i2s: support more i2s format

2019-08-12 Thread Jerome Brunet
The dw-hdmi-i2s supports more formats than just regular i2s. Add support for left justified, right justified and dsp modes A and B. Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet --- .../drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 26 --- drivers/gpu/drm/bridge

[PATCH v2 3/8] drm/bridge: dw-hdmi: set channel count in the infoframes

2019-08-12 Thread Jerome Brunet
Set the number of channel in the infoframes Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index

[PATCH v2 8/8] drm/bridge: dw-hdmi-i2s: add .get_eld support

2019-08-12 Thread Jerome Brunet
Provide the eld to the generic hdmi-codec driver. This will let the driver enforce the maximum channel number and set the channel allocation depending on the hdmi sink. Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h | 1 + drivers/gpu

[PATCH v2 7/8] drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes

2019-08-12 Thread Jerome Brunet
Enable the i2s lanes depending on the number of channel in the stream Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet --- .../gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 15 ++- drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 6 +- 2 files changed, 19

[PATCH v2 2/8] drm/bridge: dw-hdmi: move audio channel setup out of ahb

2019-08-12 Thread Jerome Brunet
Part of the channel count setup done in dw-hdmi ahb should actually be done whatever the interface providing the data. Reviewed-by: Jonas Karlman Let's move it to dw-hdmi driver instead. Signed-off-by: Jerome Brunet --- .../drm/bridge/synopsys/dw-hdmi-ahb-audio.c | 20 +++- drivers

[PATCH v2 4/8] drm/bridge: dw-hdmi-i2s: enable lpcm multi channels

2019-08-12 Thread Jerome Brunet
Properly setup the channel count and layout in dw-hdmi i2s driver so we are not limited to 2 channels. Also correct the maximum channel reported by the DAI from 6 to 8 ch Reviewed-by: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 ++- 1

Re: [PATCH 8/8] drm/bridge: dw-hdmi-i2s: add .get_eld support

2019-08-07 Thread Jerome Brunet
On Wed 07 Aug 2019 at 14:57, Jonas Karlman wrote: > On 2019-08-05 15:41, Jerome Brunet wrote: >> Provide the eld to the generic hdmi-codec driver. >> This will let the driver enforce the maximum channel number and set the >> channel allocation depending on the hdmi sink. &g

[PATCH 4/8] drm/bridge: dw-hdmi-i2s: enable lpcm multi channels

2019-08-05 Thread Jerome Brunet
Properly setup the channel count and layout in dw-hdmi i2s driver so we are not limited to 2 channels. Also correct the maximum channel reported by the DAI from 6 to 8 ch Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 ++- 1 file

[PATCH 0/8] drm/bridge: dw-hdmi: improve i2s support

2019-08-05 Thread Jerome Brunet
, there is a runtime dependency for patch 8 on this ASoC series [1]. [0]: https://github.com/Kwiboo/linux-rockchip/commits/rockchip-5.2-for-libreelec-v5.2.3 [1]: https://lkml.kernel.org/r/20190725165949.29699-1-jbru...@baylibre.com Jerome Brunet (8): drm/bridge: dw-hdmi-i2s: support more i2s

[PATCH 6/8] drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params

2019-08-05 Thread Jerome Brunet
When changing the audio hw params, reset the audio fifo to make sure any old remaining data is flushed. The databook mentions that such reset should be followed by a reset of the i2s block to make sure the samples stay aligned Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm

[PATCH 2/8] drm/bridge: dw-hdmi: move audio channel setup out of ahb

2019-08-05 Thread Jerome Brunet
Part of the channel count setup done in dw-hdmi ahb should actually be done whatever the interface providing the data. Let's move it to dw-hdmi driver instead. Signed-off-by: Jerome Brunet --- .../drm/bridge/synopsys/dw-hdmi-ahb-audio.c | 20 +++- drivers/gpu/drm/bridge/synopsys/dw

[PATCH 5/8] drm/bridge: dw-hdmi-i2s: set the channel allocation

2019-08-05 Thread Jerome Brunet
setup the channel allocation provided by the generic hdmi-codec driver Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b/drivers/gpu

[PATCH 3/8] drm/bridge: dw-hdmi: set channel count in the infoframes

2019-08-05 Thread Jerome Brunet
Set the number of channel in the infoframes Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index

[PATCH 8/8] drm/bridge: dw-hdmi-i2s: add .get_eld support

2019-08-05 Thread Jerome Brunet
Provide the eld to the generic hdmi-codec driver. This will let the driver enforce the maximum channel number and set the channel allocation depending on the hdmi sink. Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h | 1 + drivers/gpu

[PATCH 7/8] drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes

2019-08-05 Thread Jerome Brunet
Enable the i2s lanes depending on the number of channel in the stream Cc: Jonas Karlman Signed-off-by: Jerome Brunet --- .../gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 15 ++- drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 6 +- 2 files changed, 19 insertions(+), 2

[PATCH 1/8] drm/bridge: dw-hdmi-i2s: support more i2s format

2019-08-05 Thread Jerome Brunet
The dw-hdmi-i2s supports more formats than just regular i2s. Add support for left justified, right justified and dsp modes A and B. Signed-off-by: Jerome Brunet --- .../drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 26 --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 6

[PATCH] drm: dw-hdmi-i2s: support more i2s format

2019-06-13 Thread Jerome Brunet
The dw-hdmi-i2s supports more formats than just regular i2s. Add support for left justified, right justified and dsp modes A and B. Signed-off-by: Jerome Brunet --- Tested on the Amlogic arm64 meson-g12a-sei510 with i2s, left_j, dsp_a and dsp_b. right_j is not supported by this platform

[PATCH] drm/meson: imply dw-hdmi i2s audio for meson hdmi

2019-04-30 Thread Jerome Brunet
Imply the i2s part of the Synopsys HDMI driver for Amlogic SoCs. This will enable the i2s part by default when meson hdmi driver is enable but let platforms not supported by the audio subsystem disable it if necessary. Signed-off-by: Jerome Brunet --- drivers/gpu/drm/meson/Kconfig | 1 + 1 file

Re: [PATCH 07/11] drm/meson: Add G12A support for plane handling in CRTC driver

2019-04-10 Thread Jerome Brunet
On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > This patch adds support for the new OSD+VD Plane blending module > in the CRTC code by adding the G12A code to manage the blending > module and setting the right OSD1 & VD1 plane registers. > > Signed-off-by: Neil Armstrong > --- >

Re: [PATCH 04/11] drm/meson: Add G12A Support for VIU setup

2019-04-10 Thread Jerome Brunet
On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > Amlogic G12A SoC needs a different VIU setup code, > handle it. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_viu.c | 72 --- > 1 file changed, 67 insertions(+), 5 deletions(-) > >

Re: [PATCH 00/11] drm/meson: Add G12A Support

2019-04-10 Thread Jerome Brunet
| 11 +- > drivers/gpu/drm/meson/meson_venc_cvbs.c | 25 ++- > drivers/gpu/drm/meson/meson_viu.c | 72 ++++++- > drivers/gpu/drm/meson/meson_vpp.c | 51 +++-- > 13 files changed, 880 insertions(+), 143 deletions(-) > on the u200 and sei510 Tested-by: Jerome Brunet

Re: [PATCH 08/11] drm/meson: Add G12A support for CVBS Encoer

2019-04-10 Thread Jerome Brunet
On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > The Meson G12A SoCs uses the exact same CVBS encoder except a simple > CVBS DAC register offset and settings delta. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_venc.c | 11 +-- >

Re: [PATCH 06/11] drm/meson: Add G12A Support for the Overlay video plane

2019-04-10 Thread Jerome Brunet
On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > Amlogic G12A SoC supports the same set of Video Planes, but now > are handled by the new OSD plane blender module. > > This patch uses the same VD1 plane for G12A, using the exact same scaler > and VD11 setup registers, except using the

Re: [PATCH 08/11] drm/meson: Add G12A support for CVBS Encoer

2019-04-10 Thread Jerome Brunet
On Tue, 2019-04-09 at 10:43 +0200, Jerome Brunet wrote: > On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > > The Meson G12A SoCs uses the exact same CVBS encoder except a simple > > CVBS DAC register offset and settings delta. > > > > Signed-off-by: Neil Armst

Re: [PATCH 09/11] drm/meson: Add G12A Video Clock setup

2019-04-10 Thread Jerome Brunet
On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: > While switching to the Common Clock Framework is still Work In Progress, > this patch adds the corresponding G12A HDMI PLL setup to be on-par > with the other SoCs support. > > The G12A has only a single tweak about the high frequency

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Jerome Brunet
On Wed, 2018-08-01 at 20:51 +0200, Maxime Jourdan wrote: > This removes the meson_canvas files within the meson/drm layer > and makes use of the new canvas module that is referenced in the dts. > > Canvases can be used by different IPs and modules, and it is as such > preferable to rely on a

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Jerome Brunet
On Thu, 2018-08-02 at 14:34 +0200, Maxime Jourdan wrote: > Hi Jerome, > > 2018-08-02 10:39 GMT+02:00 Jerome Brunet : > > I looks like the consumer of your 'canvas' devices must know how the canvas > > device is organized internally. Maybe something better can be done ? > &

Re: [PATCH RESEND] drm/meson: Make DMT timings parameters and pixel clock generic

2018-07-17 Thread Jerome Brunet
display driver needs a detailed control over the clock setup, maybe we could solve the problem by exporting the intermediate clock elements in CCF (such as muxes, ODs, etc...) and let the display driver claim them all ? Anyway, the situation is improving so: Acked-by: Jerome Brunet >

Re: [PATCH] drm/meson: Add support for DMT modes on HDMI

2018-03-14 Thread Jerome Brunet
. > > Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> Looks good to me Acked-by: Jerome Brunet <jbru...@baylibre.com> ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RESEND PATCH 0/4] drm/meson: power domain init related fixes

2017-12-11 Thread Jerome Brunet
/gpu/drm/meson/meson_registers.h | 4 > 5 files changed, 34 insertions(+) > No dependencies on the bootloader anymore, this is great ! Thanks Series tested on libretech-cc s905x Tested-by: Jerome Brunet <jbru...@baylibre.com> Reviewed-by: Jerome Brunet <jbru