Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-05-17 Thread Lucas Stach
Am Montag, dem 17.05.2021 um 10:23 -0300 schrieb Ezequiel Garcia: > On Mon, 2021-05-17 at 12:52 +0200, Lucas Stach wrote: > > Hi Ezequiel, > > > > Am Sonntag, dem 16.05.2021 um 19:40 -0300 schrieb Ezequiel Garcia: > > > Hi Lucas, > > > > > > On F

Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-05-17 Thread Lucas Stach
Hi Ezequiel, Am Sonntag, dem 16.05.2021 um 19:40 -0300 schrieb Ezequiel Garcia: > Hi Lucas, > > On Fri, 2021-04-16 at 12:54 +0200, Lucas Stach wrote: > > Am Mittwoch, dem 07.04.2021 um 09:35 +0200 schrieb Benjamin Gaignard: > > > In order to be able to share the contro

Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-04-16 Thread Lucas Stach
Am Freitag, dem 16.04.2021 um 15:08 +0200 schrieb Benjamin Gaignard: > Le 16/04/2021 à 12:54, Lucas Stach a écrit : > > Am Mittwoch, dem 07.04.2021 um 09:35 +0200 schrieb Benjamin Gaignard: > > > In order to be able to share the control hardware block between > > >

Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-04-16 Thread Lucas Stach
Am Mittwoch, dem 07.04.2021 um 09:35 +0200 schrieb Benjamin Gaignard: > In order to be able to share the control hardware block between > VPUs use a syscon instead a ioremap it in the driver. > To keep the compatibility with older DT if 'nxp,imx8mq-vpu-ctrl' > phandle is not found look at 'ctrl' re

Re: [PATCH 3/3] drm/etnaviv: add thermal dependency

2017-08-08 Thread Lucas Stach
Hi Arnd, Am Mittwoch, den 26.07.2017, 15:53 +0200 schrieb Arnd Bergmann: > When CONFIG_THERMAL is enabled as a loadable module, and etnaviv is > built-in, we get a link error: > > drivers/gpu/drm/etnaviv/etnaviv_gpu.o: In function `etnaviv_gpu_bind': > etnaviv_gpu.c:(.text.etnaviv_gpu_bind+0x34):

Re: [PATCH v6 17/39] platform: add video-multiplexer subdevice driver

2017-04-05 Thread Lucas Stach
Am Mittwoch, den 05.04.2017, 13:18 +0200 schrieb Pavel Machek: > Hi! > > > + * video stream multiplexer controlled via gpio or syscon > > + * > > + * Copyright (C) 2013 Pengutronix, Sascha Hauer > > + * Copyright (C) 2016 Pengutronix, Philipp Zabel > > This is actually quite interesting. Same e

Re: [PATCH v12 1/2] kernel.h: add u64_to_user_ptr()

2016-04-26 Thread Lucas Stach
k > Signed-off-by: Gustavo Padovan > Though I normally prefer static inline functions, I see the benefits of using the macro form here. For the etnaviv part: Acked-by: Lucas Stach ___ devel mailing list de...@linuxdriverproject.org http://driverd

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Lucas Stach
+ } > > The binding patch says this is an optional property. > But here if undefined it returns -EINVAL. > > I would keep it optional and default it to byte access. That's exactly what the patch does. val is initialized to 1, which is not changed if the property could not be fo

Re: [PATCH V4 5/6] dw-hdmi: add support for multi byte register width access

2014-11-07 Thread Lucas Stach
ase 1: hdmi->write = dw_hdmi_writeb; hdmi->read = dw_hdmi_readb; hdmi->reg_shift = 0; break; default: dev_err(dev, "unrecognized value for reg-io-width");

Re: [PATCH 2/4] staging: imx-hdmi: correct connector detect and hotplug

2014-04-14 Thread Lucas Stach
Am Montag, den 14.04.2014, 11:09 +0100 schrieb Russell King - ARM Linux: > On Mon, Apr 14, 2014 at 11:38:43AM +0200, Lucas Stach wrote: > > Am Montag, den 14.04.2014, 10:10 +0100 schrieb Russell King - ARM Linux: > > > On Mon, Apr 14, 2014 at 10:42:32AM +0200, Lucas Stach wrote:

Re: [PATCH 2/4] staging: imx-hdmi: correct connector detect and hotplug

2014-04-14 Thread Lucas Stach
Am Montag, den 14.04.2014, 10:10 +0100 schrieb Russell King - ARM Linux: > On Mon, Apr 14, 2014 at 10:42:32AM +0200, Lucas Stach wrote: > > Am Sonntag, den 13.04.2014, 15:58 +0100 schrieb Russell King - ARM > > Linux: > > > On Fri, Apr 11, 2014 at 04:13:33PM +0200, Lucas S

Re: [PATCH 2/4] staging: imx-hdmi: correct connector detect and hotplug

2014-04-14 Thread Lucas Stach
Am Sonntag, den 13.04.2014, 15:58 +0100 schrieb Russell King - ARM Linux: > On Fri, Apr 11, 2014 at 04:13:33PM +0200, Lucas Stach wrote: > > Make sure that we probe for a display on detect regardless > > of previous hotplug events. Don't handle connector > > hotplug state

[PATCH 2/4] staging: imx-hdmi: correct connector detect and hotplug

2014-04-11 Thread Lucas Stach
Make sure that we probe for a display on detect regardless of previous hotplug events. Don't handle connector hotplug state ourselves, but let DRM do the right thing for us. This brings our hotplug handling in line with what other DRM drivers do. Signed-off-by: Lucas Stach --- drivers/st

[PATCH 3/4] staging: imx-hdmi: clear all hotplug IRQs on bind

2014-04-11 Thread Lucas Stach
Makes sure we don't receive a stray IRQ on startup. Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/imx-hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/imx-drm/imx-hdmi.c b/drivers/staging/imx-drm/imx-hdmi.c index 22cfdfc5ef74..7d407e9

[PATCH 1/4] staging: imx-hdmi: use rx sense pins for plug detection if hpd is unreliable

2014-04-11 Thread Lucas Stach
Signed-off-by: Philipp Zabel Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/imx-hdmi.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/staging/imx-drm/imx-hdmi.c b/drivers/staging/imx-drm/imx-hdmi.c index d47dedd2cdb4..80b9

[PATCH 4/4] imx-drm: imx-hdmi: don't erroneously detect HDMI displays

2014-04-11 Thread Lucas Stach
While having a CEA mode is one prerequisite for using HDMI transmit mode, we also have to check if the display is actually capable of HDMI input. Fall back to DVI mode otherwise. Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/imx-hdmi.c | 11 --- 1 file changed, 4 insertions

Re: [PATCH v5 00/11] imx-drm dt bindings

2014-03-11 Thread Lucas Stach
DMI > > 2) enable HDMI device in DT, i.e. adding the lines below in board dts. > > &hdmi { > status = "okay"; > }; > > Sorry for the confusion. > This isn't a supported use-case, the componentized device stu

[PATCH v2 2/3] staging: drm/imx: handle framebuffer offsets correctly

2014-01-10 Thread Lucas Stach
We didn't take the pixel format into account, so x-direction offsets were off by a factor of 2 or 4 for 16bpp and 32bpp framebuffers. Signed-off-by: Philipp Zabel Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/ipuv3-plane.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2 0/3] imx-drm crtc/plane offset fixes

2014-01-10 Thread Lucas Stach
These patches fix the issue of frame buffer offsets being forgotten during crtc pageflip. Also we set the second buffer address. v2: proper changelogs, no functional change Lucas Stach (2): staging: drm/imx: handle framebuffer offsets correctly staging: drm/imx: don't drop crtc offsets

[PATCH v2 3/3] staging: drm/imx: don't drop crtc offsets when doing pageflip

2014-01-10 Thread Lucas Stach
CRTC offsets are only set with the initial modeset, any subseqent pageflips assume them to be kept the same, so we need to remember the current state until another modeset changes it. Signed-off-by: Philipp Zabel Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/ipuv3-crtc.c | 3

[PATCH v2 1/3] staging: drm/imx: set second plane base address

2014-01-10 Thread Lucas Stach
From: Philipp Zabel Even though we do not enable the hardware double buffering feature right now, set the second base address pointer (EBA1) as well to increase robustness. Signed-off-by: Philipp Zabel Signed-off-by: Lucas Stach --- drivers/staging/imx-drm/ipuv3-plane.c | 7 +-- 1 file

Re: [PATCHv5][ 2/8] staging: imx-drm: Add RGB666 support for parallel display.

2013-12-06 Thread Lucas Stach
art, which is used for example for programming the DMA channels is using V4L2 pixel formats as a common base. We have patches to split this out and make this fact more visible. (The IPU core will be placed aside the Tegra host1x driver) Regards, Lucas -- Pengutronix e.K.

Re: [PATCH v2 1/3] imx-drm: Add mx6 hdmi transmitter support

2013-10-17 Thread Lucas Stach
" > subsystem. In this regard, it's a victim of its own flexibility. We are aiming to do the same thing as the Tegra host1x driver: move the IPU core to drivers/gpu and export API for other drivers to use. This may mean we still have to keep the DRM part in staging (at least until