[PATCH v2 2/3] drm/mediatek: enhance the HDMI driving current

2016-07-27 Thread Philipp Zabel
Am Mittwoch, den 27.07.2016, 16:31 +0800 schrieb Bibby Hsieh: > From: Junzhi Zhao > > In order to improve 4K resolution performance, > we have to enhance the HDMI driving currend ^ Typo, s/currend/current/ Besides that, this patch looks good to me. reg

[PATCH v2 1/3] drm/mediatek: do mtk_hdmi_send_infoframe after HDMI clock enable

2016-07-27 Thread Philipp Zabel
Am Mittwoch, den 27.07.2016, 16:31 +0800 schrieb Bibby Hsieh: > From: Junzhi Zhao > > The mtk_hdmi_send_infoframe have to > be run after PLL and PIXEL clock of HDMI enable. > Make sure that HDMI inforframes can be sent > successfully. > > Signed-off-by: Junzhi Zhao > Signed-off-by: Bibby Hsieh

[PATCH v4 4/8] drm/mediatek: add support for Mediatek SoC MT2701

2016-07-27 Thread Philipp Zabel
Am Dienstag, den 26.07.2016, 18:42 +0800 schrieb YT Shen: > Hi CK, > > On Wed, 2016-07-20 at 14:53 +0800, CK Hu wrote: > > Hi, YT: > > > > Some comments inline. > > > > On Fri, 2016-07-15 at 18:07 +0800, YT Shen wrote: > > > This patch add support for the Mediatek MT2701 DISP subsystem. > > > Th

[GIT PULL] imx-drm ldb mode set fix

2016-07-27 Thread Philipp Zabel
c4d44a4 ("drm/imx: store internal bus configuration in crtc state") -------- Philipp Zabel (1): drm/imx: imx-ldb: do not try to dereference crtc->state->state in encoder mode_set drivers/gpu/drm/imx/imx-ldb.c | 7 +

[PATCH v3] drm/atomic-helper: Add atomic_mode_set helper callback

2016-07-29 Thread Philipp Zabel
that additionally pass crtc and connector state don't seem to be necessary for any current driver. mode_fixup already has an atomic equivalent in atomic_check. Signed-off-by: Philipp Zabel --- Changes since v2: - Removed atomic_enable and atomic_disable hooks again, they are not useful

[PATCH] drm/imx: Remove imx_drm_handle_vblank()

2016-07-29 Thread Philipp Zabel
Am Freitag, den 29.07.2016, 14:00 +0800 schrieb Liu Ying: > imx_drm_handle_vblank() is just a simple wrapper of drm_crtc_handle_vblank() > without doing any thing fancy - drm_crtc_handle_vblank() can be called > directly. So, let's remove the wrapper. > > Signed-off-by: Liu Ying Applied, thank

[PATCH] imx-drm: imx-drm-core: add suspend/resume support

2014-07-24 Thread Philipp Zabel
e working after a suspend/resume > cycle. > > Signed-off-by: Shawn Guo > --- > Tested with HDMI and LVDS. It'd be great if someone can help test TVE > to ensure the patch doesn't break anything. Tested-by: Philipp Zabel on i.MX53-QSB with VGA via TVE. regards Philipp

[PATCH 4/4] imx-drm: ipuv3-plane: fix plane updates for active planes

2014-07-29 Thread Philipp Zabel
While the DMA channel is running, it is not allowed to change anything but the inactive (double) buffer base address, so resizing a plane or changing to a frame buffer with different pixel format is not possible. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-plane.c | 15

[PATCH 3/4] imx-drm: ipuv3-plane: enable double buffering

2014-07-29 Thread Philipp Zabel
This allows to update the buffer base address while the DMA channel is running. It is needed to flip the frame buffer of an active plane. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-plane.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a

[PATCH 2/4] imx-drm: ipuv3-plane: move stride setting out of base setup

2014-07-29 Thread Philipp Zabel
Setting the stride can only be done on inactive channels, while the buffer base address can also be updated for running channels using the hardware double buffering feature. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-plane.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 1/4] imx-drm: ipuv3-plane: allow local alpha in ipu_plane_mode_set()

2014-07-29 Thread Philipp Zabel
For the overlay plane scanning out a framebuffer with an alpha component, enable the DP local alpha feature on the partial plane. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-plane.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v2 1/5] gpu: ipu-v3: Move i.MX IPUv3 core driver out of staging

2014-06-02 Thread Philipp Zabel
Am Mittwoch, den 28.05.2014, 14:13 -0700 schrieb Greg Kroah-Hartman: > On Mon, May 26, 2014 at 04:19:39PM +0200, Philipp Zabel wrote: > > The i.MX Image Processing Unit (IPU) contains a number of image processing > > blocks that sit right in the middle between DRM and V4

[PULL] Move IPUv3 core out of staging, add CSI support

2014-06-04 Thread Philipp Zabel
V4L2 support in parallel. I have rebased the series back to v3.15-rc3, the tag closest to the common ancestor of drm-next and staging-next, and verified that merging the two produces the correct result. regards Philipp Philipp Zabel (5

[PATCH] imx-drm: imx-hdmi: fix hdmi hotplug detection initial state

2014-06-11 Thread Philipp Zabel
Hi Russell, Am Mittwoch, den 11.06.2014, 09:17 +0100 schrieb Russell King - ARM Linux: > On Tue, Jun 10, 2014 at 10:32:25AM -0300, Fabio Estevam wrote: > > On Tue, Jun 10, 2014 at 9:58 AM, Fabio Estevam > > wrote: > > > On Mon, Jun 9, 2014 at 5:09 PM, Russell King - ARM Linux > > > wrote: > > >

[PATCH RFC v2 3/8] component: add support for component match array

2014-06-26 Thread Philipp Zabel
Hi Russell, On Tue, Jun 24, 2014 at 9:29 PM, Russell King wrote: [...] > +/* > + * Add a component to be matched. > + * > + * The match array is first created or extended if necessary. > + */ > +void component_match_add(struct device *dev, struct component_match > **matchptr, > + int (*com

Re: [PATCH/RFC v3 06/19] video: display: OF support

2013-08-13 Thread Philipp Zabel
Hi Laurent, thanks for this update. I'm very happy about the move to the display entity model, given that the i.MX6 IPU has both drm/display and v4l2/capture ports in a single device - this will allow to use a unified device tree binding scheme. I'm still trying to see how this all fits together,

Re: [PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Philipp Zabel
Am Dienstag, den 20.08.2013, 16:38 +0800 schrieb Liu Ying: > The ldb_di[0/1]_ipu_div clock dividers in the CSCMR2 register > of i.MX53, i.MX6Q and i.MX6DL SoCs can be configured to a 1/3.5 > drivider or a 1/7 divider. The common clock framework cannot > deal with the two dividers directly even with

Re: [PATCH/RFC v3 06/19] video: display: OF support

2013-08-21 Thread Philipp Zabel
Hi Laurent, Am Mittwoch, den 21.08.2013, 03:02 +0200 schrieb Laurent Pinchart: > Hi Philipp, > > On Tuesday 13 August 2013 16:37:07 Philipp Zabel wrote: > > Hi Laurent, > > > > thanks for this update. I'm very happy about the move to the display entity > &g

Re: [PATCH/RFC v3 06/19] video: display: OF support

2013-08-27 Thread Philipp Zabel
Hi Laurent, I have another small issue with the graph helpers below: Am Samstag, den 10.08.2013, 01:03 +0200 schrieb Laurent Pinchart: [...] > +/* > - > * Graph Helpers > */ > > @@ -420,6 +599,161 @@ int display_en

Re: [PATCH/RFC v3 06/19] video: display: OF support

2013-09-04 Thread Philipp Zabel
Hi Laurent, Am Samstag, den 10.08.2013, 01:03 +0200 schrieb Laurent Pinchart: > Extend the notifier with DT node matching support, and add helper functions to > build the notifier and link entities based on a graph representation in > DT. > > Signed-off-by: Laurent Pinchart > --- > drivers/vide

Re: [PATCH/RFC v3 06/19] video: display: OF support

2013-09-11 Thread Philipp Zabel
Am Mittwoch, den 11.09.2013, 13:33 +0200 schrieb Laurent Pinchart: > Hi Philipp, > > On Wednesday 04 September 2013 16:21:38 Philipp Zabel wrote: > > Am Samstag, den 10.08.2013, 01:03 +0200 schrieb Laurent Pinchart: > > > Extend the notifier with DT node matching

[PATCH v2 5/5] gpu: ipu-v3: Register the CSI modules

2014-05-26 Thread Philipp Zabel
This patch registers the two CSI platform devices per IPU. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- Changes since RFC: - Rebased onto current staging-next --- drivers/gpu/ipu-v3/ipu-common.c | 37 - include/video/imx-ipu-v3.h | 1

[PATCH v2 0/5] Move IPUv3 core out of staging, add CSI support

2014-05-26 Thread Philipp Zabel
se nearly unchanged. I hope we can get this move in before the approaching merge window so that we have a base for submitting the CSI V4L2 patches in the following round. regards Philipp --- Changes since RFC: - Rebased onto current staging-next - Streamlined destaging patch a bit --- Philipp Zabel (

[PATCH v2 2/5] gpu: ipu-v3: Add SMFC code

2014-05-26 Thread Philipp Zabel
The Sensor Multi Fifo Controller (SMFC) is used as a buffer between the two CSIs (writing simultaneously) and up to four IDMAC channels. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/Makefile | 2 +- drivers/gpu/ipu-v3/ipu-common.c | 10 + drivers/gpu/ipu-v3/ipu-prv.h| 6

[PATCH v2 1/5] gpu: ipu-v3: Move i.MX IPUv3 core driver out of staging

2014-05-26 Thread Philipp Zabel
framework, but others, such as the dma controller (IDMAC) and image converter (IC) can be used by both. The IPUv3 core driver provides an internal API to access the modules, to be used by both DRM and V4L2 IPUv3 drivers. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- Changes since RFC

[PATCH v2 3/5] gpu: ipu-v3: Add ipu_idmac_get_current_buffer function

2014-05-26 Thread Philipp Zabel
This function returns the currently active buffer (0 or 1) of a double buffered IDMAC channel. It is to be used by the CSI driver. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 9 + include/video/imx-ipu-v3.h | 1 + 2 files changed, 10 insertions(+) diff --git

[PATCH v2 4/5] gpu: ipu-v3: Add CSI and SMFC module enable wrappers

2014-05-26 Thread Philipp Zabel
IPU_CONF_..._EN bits are implementation details, not to be made public. Add wrappers around ipu_module_enable/disable, so the CSI V4L2 driver can enable/disable the CSI and SMFC modules. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 24 include

[PATCH v2 0/5] Move IPUv3 core out of staging, add CSI support

2014-05-26 Thread Philipp Zabel
On Mon, May 26, 2014 at 4:19 PM, Philipp Zabel wrote: [...] > Cc: drm-devel at vger.kernel.org Sorry about this unfortunate combination of me misremembering dri-devel, noticing something is wrong, looking up and inserting the correct address, and then, after a context switch, failing to rem

[PATCH 05/72] ARM: i.MX6: select pll3_usb_otg for ldb_di for rev 1.0 chip

2014-11-03 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:53 -0700 schrieb Steve Longerbeam: > Select pll3_usb_otg for ldb_di clock for rev 1.0 chips. > > Signed-off-by: Jiada Wang > Signed-off-by: Steve Longerbeam > --- > arch/arm/mach-imx/clk-imx6q.c |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/

[PATCH 04/72] ARM: i.MX6: use pll2_pfd0_352m as clock root of ipu_di

2014-11-03 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:53 -0700 schrieb Steve Longerbeam: > AS pll5_video_div has already been used as clock root for ldb_di, > so use pll2_pfd0_352m as clock root of ipu_di for HDMI. > > Signed-off-by: Jiada Wang > Signed-off-by: Steve Longerbeam What about devices that don't use LVDS?

[PATCH 06/72] gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset()

2014-11-03 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:53 -0700 schrieb Steve Longerbeam: > Adds ipu_cpmem_set_uv_offset(), to set planar U/V offsets. > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/ipu-cpmem.c |7 +++ > include/video/imx-ipu-v3.h |1 + > 2 files changed, 8 insertions(+)

[PATCH 07/72] gpu: ipu-v3: Add ipu_dp_set_chroma_key()

2014-11-03 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:53 -0700 schrieb Steve Longerbeam: > Adds the function ipu_dp_set_chroma_key(), which sets up a color key > value for a DP foreground plane. > > ipu_dp_set_chroma_key() accepts a color key value in RGB24 format. > If the combiner unit colorspace is YUV, the key must

[PATCH 03/72] ARM: dts: imx6qdl: Create imx-drm crtc nodes

2014-11-03 Thread Philipp Zabel
Hi Steve, Am Freitag, den 31.10.2014, 15:53 -0700 schrieb Steve Longerbeam: > Create imx-drm crtc device nodes. Each crtc node requires the following > parameters: > > - parent ipu phandle. > - di number. > - port endpoints. [...] the crtcs do not belong in the device tree. Currently the crtcs a

[PATCH V7 03/12] drm/bridge: Add helper functions for drm_bridge

2014-11-04 Thread Philipp Zabel
Hi Russell, Am Montag, den 27.10.2014, 23:57 + schrieb Russell King - ARM Linux: > On Mon, Oct 27, 2014 at 11:26:30PM +0100, Daniel Vetter wrote: > > Looking at the of_drm_find_panel function I actually wonder how that > > works - the drm_panel doesn't really need to stick around afaics. > > A

[PATCH 00/72] staging imx-drm new features and fixes

2014-11-04 Thread Philipp Zabel
Hi, Am Montag, den 03.11.2014, 10:59 -0800 schrieb Steve Longerbeam: > On 11/03/2014 09:48 AM, Greg KH wrote: > > On Mon, Nov 03, 2014 at 06:17:28PM +0100, Daniel Vetter wrote: > >> On Mon, Nov 03, 2014 at 08:14:23AM -0800, Greg KH wrote: > >>> On Mon, Nov 03, 2014 at 05:12:14PM +0100, Daniel Vett

[PATCH] MAINTAINERS: add maintainer for IPUv3 core driver

2014-11-04 Thread Philipp Zabel
Add myself as maintainer for the IPUv3 core driver. Signed-off-by: Philipp Zabel --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 34d3671..1c48287 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3917,6 +3917,13 @@ S: Maintained F

[PATCH 3/3] MAINTAINERS: add maintainer for i.MX DRM driver

2014-11-04 Thread Philipp Zabel
Add myself as the maintainer of the i.MX DRM driver. Signed-off-by: Philipp Zabel --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index df2aecf..ddf191d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3183,6 +3183,13 @@ F: drivers/gpu

[PATCH 1/3] staging: imx-drm: remove old FSF address from license text

2014-11-04 Thread Philipp Zabel
Linux already includes a copy of the GPL, checkpatch compains about the address. Remove it from the license text. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/imx-ldb.c | 5 - drivers/staging/imx-drm/imx-tve.c | 5 - drivers/staging/imx-drm/ipuv3-crtc.c

[PATCH 2/3] drm: imx: Move imx-drm driver out of staging

2014-11-04 Thread Philipp Zabel
functions, this mostly resulted in the component framework and drm of_graph helpers. Before adding new fixes, and certainly before adding new features, move it into its proper place below drivers/gpu/drm. Signed-off-by: Philipp Zabel --- Since this patch is generated with --find-renames, it

[PATCH 2/3] drm: imx: Move imx-drm driver out of staging

2014-11-04 Thread Philipp Zabel
Am Dienstag, den 04.11.2014, 11:52 +0100 schrieb Philipp Zabel: > The imx-drm driver was put into staging mostly for the following reasons, > all of which have been addressed or superseded: > - convert the irq driver to use linear irq domains > - work out the device tree bindings,

[PATCH 2/3] drm: imx: Move imx-drm driver out of staging

2014-11-04 Thread Philipp Zabel
Am Dienstag, den 04.11.2014, 16:19 + schrieb Emil Velikov: > Hi Philipp, > > Just a flyby question > > On 04/11/14 10:52, Philipp Zabel wrote: > > The imx-drm driver was put into staging mostly for the following reasons, > > all of which have been addressed or sup

[PATCH 19/72] gpu: ipu-v3: Protect more CM reg access with IPU lock

2014-11-04 Thread Philipp Zabel
Hi Steve, Am Freitag, den 31.10.2014, 15:54 -0700 schrieb Steve Longerbeam: > Some cm_reg accesses were not being protected by the IPU spin lock. > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/ipu-common.c | 22 -- > 1 file changed, 20 insertions(+), 2 delet

[PATCH 49/72] imx-drm: imx-ldb: Add DDC support

2014-11-04 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:54 -0700 schrieb Steve Longerbeam: > Add support for reading EDID over Display Data Channel. If no DDC > adapter is available, falls back to hardcoded EDID or display-timings > node as before. > > Signed-off-by: Steve Longerbeam Acked-by: Philipp

[PATCH 68/72] imx-drm: imx-ldb: Use DDC probe as connection detect

2014-11-04 Thread Philipp Zabel
Am Freitag, den 31.10.2014, 15:54 -0700 schrieb Steve Longerbeam: > If a ddc node was specified in the device tree, use it in > imx_ldb_connector_detect() to probe the ddc with drm_probe_ddc(), if > the result is success, we know there is a display connected so return > connected status. Otherwise

[PATCH 1/2] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-05 Thread Philipp Zabel
Hi Andy, I think separating the core from the SoC specific part is a good step into the right direction. Am Mittwoch, den 05.11.2014, 20:55 +0800 schrieb Andy Yan: > imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) > use the interface compatible Designware HDMI IP, but they > also have s

[PATCH] drm/panel: simple: Fix bus flags for ortustech com43h4m85ulc

2016-08-26 Thread Philipp Zabel
Hi Marek, Am Freitag, den 26.08.2016, 16:24 +0200 schrieb Marek Vasut: > This display expects DE pin to be active high, add the necessary flag. > > Signed-off-by: Marek Vasut > Cc: Philipp Zabel > Cc: Thierry Reding > --- > drivers/gpu/drm/panel/panel-simple.c | 1 +

[PATCH v4 4/7] gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel

2016-08-29 Thread Philipp Zabel
Am Freitag, den 26.08.2016, 15:30 +0800 schrieb Liu Ying: > According to basic tests, it looks there is no issue if we don't wait for > DMFC FIFO to clear when disabling DMFC channel. NXP BSP doesn't do that, > either. This patch is needed to avoid the annoying warning caused by a > timeout on wa

[PATCH v4 4/7] gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel

2016-08-29 Thread Philipp Zabel
Am Montag, den 29.08.2016, 17:36 +0800 schrieb Ying Liu: > On Mon, Aug 29, 2016 at 4:46 PM, Philipp Zabel > wrote: > > Am Freitag, den 26.08.2016, 15:30 +0800 schrieb Liu Ying: > >> According to basic tests, it looks there is no issue if we don't wait for > >>

[PATCH 1/2] drm/imx: imx-ldb: detach bridge on unbind

2016-08-29 Thread Philipp Zabel
Don't leave the bridge attached to a stale driver instance when unbinding, to allow reattachment on a rebind. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/imx-ldb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c

[PATCH 2/2] drm/imx: parallel-display: detach bridge or panel on unbind

2016-08-29 Thread Philipp Zabel
Don't leave any bridge or panel attached to a stale driver instance when unbinding, to allow reattachment on a rebind. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/parallel-display.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/imx/parallel-display

[PATCH v4 4/7] gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel

2016-08-29 Thread Philipp Zabel
Am Montag, den 29.08.2016, 17:57 +0800 schrieb Ying Liu: > On Mon, Aug 29, 2016 at 5:46 PM, Philipp Zabel > wrote: > > Am Montag, den 29.08.2016, 17:36 +0800 schrieb Ying Liu: > >> On Mon, Aug 29, 2016 at 4:46 PM, Philipp Zabel > >> wrote: > >> > Am Fr

[RFC 1/2] gpu: ipu-v3: export memory reset function

2016-08-29 Thread Philipp Zabel
Add defines for the memory reset bits and export the memory reset function to IPU modules. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 17 + drivers/gpu/ipu-v3/ipu-prv.h| 24 2 files changed, 37 insertions(+), 4 deletions

[RFC 2/2] gpu: ipu-v3: reset DMFC memory when disabling

2016-08-29 Thread Philipp Zabel
Reset the write FIFO memories after disabling the DMFC to make sure no stale data is kept around. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-dmfc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/ipu-v3/ipu-dmfc.c b/drivers/gpu/ipu-v3/ipu-dmfc.c

[PATCH v4 0/7] drm/imx: Add active plane reconfiguration support

2016-08-29 Thread Philipp Zabel
Am Freitag, den 26.08.2016, 15:30 +0800 schrieb Liu Ying: > This patch adds active plane reconfiguration support for imx-drm. > This may fixes some mode setting failure issues which were introduced > by imx-drm atomic conversion patch set. The main idea is to disable the > plane in question in CRT

[PATCH 1/5] drm/imx: don't call disable_plane in plane destroy path

2016-08-29 Thread Philipp Zabel
Am Donnerstag, den 11.08.2016, 11:18 +0200 schrieb Lucas Stach: > When the destroy path is called the plane should already be > disabled. If not, this is a core bug and should not be worked > around in the driver. > > Signed-off-by: Lucas Stach > --- > drivers/gpu/drm/imx/ipuv3-plane.c | 1 - >

[PATCH v4 0/7] drm/imx: Add active plane reconfiguration support

2016-08-29 Thread Philipp Zabel
Am Montag, den 29.08.2016, 12:53 +0200 schrieb Philipp Zabel: > Am Freitag, den 26.08.2016, 15:30 +0800 schrieb Liu Ying: > > This patch adds active plane reconfiguration support for imx-drm. > > This may fixes some mode setting failure issues which were introduced > > by imx-

[PATCH] drm/imx: fix crtc vblank state regression

2016-08-30 Thread Philipp Zabel
Am Montag, den 29.08.2016, 17:51 +0200 schrieb Lucas Stach: > The atomic conversion lost the notification to let the DRM core > know about the current state of the CRTC vblank interrupts. This > regressed the ability of the core to reject page flip attempts > on currently disabled CRTCs. Add back t

[GIT PULL] imx-drm atomic modeset regression fixes

2016-08-30 Thread Philipp Zabel
Hi Dave, this tag contains two fixes for regressions introduced by the atomic modeset conversion. The first adds active plane reconfiguration support via modesets (otherwise starting weston with fbdev emulation and framebuffer console enabled would result in a black screen), and the second adds ba

[PATCH] drm/bridge: tc358767: don't warn if display side ASSR enable fails

2016-12-01 Thread Philipp Zabel
l. > > Lgtm. Will pull it if Philipp or Andrey don't have any comments on it. No objections, this message is not helpful to a normal user. Acked-by: Philipp Zabel regards Philipp

[i.MX6 DRM IPUv3] Regression 4.9-rc5: greenish screen with YUV420 video

2016-12-01 Thread Philipp Zabel
Hi Krzysztof, Am Donnerstag, den 17.11.2016, 10:43 +0100 schrieb Krzysztof Hałasa: > Hi, > > The following GStreamer pipeline causes screen to become green with > v4.9-rc4+: > > gst-launch-1.0 udpsrc uri=udp://239.1.2.2:5100 reuse=true > caps="application/x-rtp,media=(string)video,clock-rate=(

[GIT PULL] imx-drm: fix plane atomic_update regression

2016-12-05 Thread Philipp Zabel
thout a modeset. -------- Philipp Zabel (2): drm/imx: ipuv3-plane: request modeset if plane offsets changed drm/imx: ipuv3-plane: merge ipu_plane_atomic_set_base into atomic_update drivers/gpu/drm/imx/ipuv3-plane.c | 103 +- 1 file changed

[GIT PULL] imx-drm: fix plane atomic_update regression

2016-12-09 Thread Philipp Zabel
Hi Dave, Am Montag, den 05.12.2016, 12:03 +0100 schrieb Philipp Zabel: > Hi Dave, > > this tag fixes a regression in the imx-drm YUV plane support [1] that > was introduced in v4.9-rc4, as well as an error returned when changing > U/V offsets of an active plane to otherwise va

[PATCH 02/12] ARM: dts: imx6qdl: rename ipu client nodes

2016-12-09 Thread Philipp Zabel
Hi Steve, Am Mittwoch, den 07.12.2016, 16:57 -0800 schrieb Steve Longerbeam: > To allow for IPU client devices that are composed of more than one > port for input and output (SMFC and IC), change the nodes from being > a single port node to nodes that can contain multiple ports. Rename > the nodes

[RFC][PATCH 1/2] dt-bindings: drm/mediatek: Add Mediatek DRM dts binding

2015-08-26 Thread Philipp Zabel
Hi, overall it looks to me like this binding is modeled after the Linux DRM abstractions. Instead, the device nodes should be modeled after the hardware. Describing each function block as a separate device node is probably not the best choice, as would be combining all devices in the mmsys range

[PATCH 04/12] gpu: imx: fix support for interlaced modes

2015-08-27 Thread Philipp Zabel
st this series: Tested-by: Philipp Zabel on i.MX6 GK802 via HDMI connected to a TV (1080p60, 1080i60). Unfortunately these timings are completely different from what Freescale came up with for the TV Encoder on i.MX5, but the code we have currently in mainline doesn't work for that either. I

[PATCH 0/9] dw-hdmi audio support

2015-08-27 Thread Philipp Zabel
upport found on Rockchip patches. > Thanks to Yakir Yang for contributing the I2S support. > > I suspect that there is still some discussion to be had on this > series, though I would like to see it moving forward so that we can > get something merged. Tested-by: Philipp Zabel on i.MX6

[PATCH 04/12] gpu: imx: fix support for interlaced modes

2015-08-27 Thread Philipp Zabel
Am Donnerstag, den 27.08.2015, 09:54 +0100 schrieb Russell King - ARM Linux: > On Thu, Aug 27, 2015 at 10:39:12AM +0200, Philipp Zabel wrote: > > Hi Russell, > > > > Am Samstag, den 08.08.2015, 17:03 +0100 schrieb Russell King: > > > The support for interlaced vide

[PATCH v3 0/3] drm_of_encoder_active_endpoint helpers

2015-08-27 Thread Philipp Zabel
functions to return its id or port id. Changes since v2: - Add missing #include drm_of.h to imx-ldb.c regards Philipp Philipp Zabel (3): drm: add drm_of_encoder_active_endpoint helpers drm/imx: remove imx_drm_encoder_get_mux_id drm/rockchip: remove rockchip_drm_encoder_get_mux_id drivers

[PATCH v3 1/3] drm: add drm_of_encoder_active_endpoint helpers

2015-08-27 Thread Philipp Zabel
This patch adds a helper to parse the encoder endpoint connected to the encoder's crtc and two helpers to return its id and port id. This can be used to determine input mux setting from endpoint or port ids. Suggested-by: Daniel Kurtz Reviewed-by: Daniel Kurtz Signed-off-by: Philipp

[PATCH v3 2/3] drm/imx: remove imx_drm_encoder_get_mux_id

2015-08-27 Thread Philipp Zabel
It is replaced by drm_of_encoder_active_port_id. Suggested-by: Daniel Kurtz Signed-off-by: Philipp Zabel --- Changes since v2: - Add missing #include drm_of.h to imx-ldb.c --- drivers/gpu/drm/imx/dw_hdmi-imx.c | 2 +- drivers/gpu/drm/imx/imx-drm-core.c | 30

[PATCH v3 3/3] drm/rockchip: remove rockchip_drm_encoder_get_mux_id

2015-08-27 Thread Philipp Zabel
It is replaced by drm_of_encoder_active_endpoint_id. Suggested-by: Daniel Kurtz Reviewed-by: Daniel Kurtz Signed-off-by: Philipp Zabel --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 30 - drivers/gpu/drm

[PATCH] drm/imx: ipuv3-plane: enforce the same physical base address for multiplanar formats

2015-08-27 Thread Philipp Zabel
lanes. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-plane.c | 39 +++ 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index 878a643..435eec1 100644 --- a/drivers/gpu/dr

[PATCH 2/6] drm/imx: enable 15-bit RGB with 1-bit alpha formats

2015-08-27 Thread Philipp Zabel
This patch enables the ARGB1555, ABGR1555, RGBA5551, and BGRA5551 formats to be used on planes. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-plane.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c

[PATCH 1/6] gpu: ipu-v3: add support for 15-bit RGB with 1-bit alpha formats

2015-08-27 Thread Philipp Zabel
This patch adds support for ARGB1555, ABGR1555, RGBA5551, and BGRA5551 in-memory formats. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 4 drivers/gpu/ipu-v3/ipu-cpmem.c | 44 + 2 files changed, 48 insertions(+) diff --git a

[PATCH 3/6] gpu: ipu-v3: add support for RGBX8888 and RGBA8888 pixel formats

2015-08-27 Thread Philipp Zabel
This patch adds support for the RGBA, RGBX, BGRA, and BGRX in-memory formats. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-cpmem.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b

[PATCH 5/6] gpu: ipu-v3: add support for ARGB4444 16-bit color format

2015-08-27 Thread Philipp Zabel
From: Lucas Stach This patch adds support for the ARGB color format. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 1 + drivers/gpu/ipu-v3/ipu-cpmem.c | 11 +++ 2 files changed, 12 insertions(+) diff --git a/drivers/gpu/ipu-v3

[PATCH 4/6] drm/imx: ipuv3-plane: enable support for RGBX8888 and RGBA8888 pixel formats

2015-08-27 Thread Philipp Zabel
This patch allows to use the RGBX and RGBA 8:8:8:8 formats. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-plane.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index e0f3082..c6a0973 100644 --- a

[PATCH 6/6] drm/imx: enable ARGB4444 16-bit color format

2015-08-27 Thread Philipp Zabel
From: Lucas Stach This patch allows to use the ARGB color format on planes. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-plane.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3

[PATCH v3 3/3] drm/rockchip: remove rockchip_drm_encoder_get_mux_id

2015-08-28 Thread Philipp Zabel
Hi Heiko, Mark, Yakir, thank you for review & testing! Am Freitag, den 28.08.2015, 11:18 +0800 schrieb Yakir Yang: > Actually, I do feel some strange limit with this change. > > If we take the endpoint id as the vop id, then we must ensure the > remote point order in dtsi file. >

[PATCH v3 1/3] drm: add drm_of_encoder_active_endpoint helpers

2015-08-28 Thread Philipp Zabel
Hi Daniel, Am Donnerstag, den 27.08.2015, 16:22 +0200 schrieb Daniel Vetter: [...] > > +/* > > + * drm_of_encoder_active_endpoint - return the active encoder endpoint > > + * @node: device tree node containing encoder input ports > > + * @encoder: drm_encoder > > + * > > + * Given an encoder devic

[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-08-31 Thread Philipp Zabel
; From http://lists.freedesktop.org/archives/dri-devel/2015-May/082981.html > v1 of the change was > > Tested-by: Philipp Zabel > > but I hesitate to add the tag here due to multiple updates in v2. Tested again, v2 still works fine on Nitrogen6X with HDMI monitor. regards Philipp

[PATCH] drm/panel: Initialize nominal vrefresh from timings in simple panel driver

2015-12-02 Thread Philipp Zabel
Panel timing descriptions using struct videomode don't have the vrefresh field, so calculate it instead using drm_mode_vrefresh. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple

[GIT PULL] imx-drm crtc, plane, parallel panel, and TV encoder fixes

2015-12-02 Thread Philipp Zabel
de Bethencourt (1): drm: imx: imx-tve: Fix module autoload for OF platform driver Markus Elfring (1): GPU-DRM-IMX: Delete an unnecessary check before drm_fbdev_cma_restore_mode() Philipp Zabel (6): drm/imx: switch to universal planes drm/imx: parallel-display: allow to

[PATCH] drm/panel: Initialize nominal vrefresh from timings in simple panel driver

2015-12-03 Thread Philipp Zabel
Hi Thierry, Am Mittwoch, den 02.12.2015, 17:47 +0100 schrieb Thierry Reding: > On Wed, Dec 02, 2015 at 05:45:48PM +0100, Philipp Zabel wrote: > > Panel timing descriptions using struct videomode don't have the vrefresh > > field, so calculate it instead using drm_mode_vrefr

[PATCH] drm_modes: calculate nominal vrefresh in drm_display_mode_from_videomode

2015-12-03 Thread Philipp Zabel
Use drm_mode_vrefresh to update the vrefresh field after changing the modes' timings and flags. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/drm_modes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index cd74a09..b6

[PATCH] drm_modes: calculate nominal vrefresh in drm_display_mode_from_videomode

2015-12-03 Thread Philipp Zabel
Am Donnerstag, den 03.12.2015, 11:22 +0100 schrieb Thierry Reding: > On Thu, Dec 03, 2015 at 10:50:07AM +0100, Daniel Vetter wrote: > > On Thu, Dec 03, 2015 at 09:55:44AM +0100, Philipp Zabel wrote: > > > Use drm_mode_vrefresh to update the vrefresh field after changing the &g

[PATCH 3/4] drm, ipu-v3: use https://linuxtv.org for LinuxTV URL

2015-12-04 Thread Philipp Zabel
t DRM include and at > the ipu-v3 driver to point to the https://linuxtv.org > URL instead. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Philipp Zabel regards Philipp

[PATCH v4 3/5] drm: bridge: Link encoder and bridge in core code

2016-12-23 Thread Philipp Zabel
gner # For DCU > > Acked-by: Boris Brezillon # For > > atmel-hlcdc > > Acked-by: Vincent Abriou # For STI > > This one needs acks for arcgpu, tilcdc, mediatek and imx. The changes in > those drivers look good to me, though. Will push it in a day or so unless > anyone > has any comments on it. for mediatek and imx Acked-by: Philipp Zabel regards Philipp

[PATCH v8 08/13] arm64: dts: mt8173: Add display subsystem related nodes

2016-02-03 Thread Philipp Zabel
Hi Daniel, Am Dienstag, den 02.02.2016, 16:10 +0800 schrieb Daniel Kurtz: > On Tue, Jan 5, 2016 at 1:36 AM, Philipp Zabel > wrote: > > From: CK Hu > > > > This patch adds the device nodes for the DISP function blocks > > comprising the display subsystem

[PATCH v8 08/13] arm64: dts: mt8173: Add display subsystem related nodes

2016-02-03 Thread Philipp Zabel
Hi Daniel, Am Mittwoch, den 03.02.2016, 00:24 +0800 schrieb Daniel Kurtz: > Hi Philipp, > > Two more comments below... > > On Tue, Feb 2, 2016 at 4:10 PM, Daniel Kurtz wrote: > > On Tue, Jan 5, 2016 at 1:36 AM, Philipp Zabel > > wrote: [...] > >> + > &

[PATCH v9 03/14] drm/mediatek: Add DSI sub driver

2016-02-03 Thread Philipp Zabel
s. > This resulted in the following review of the dsi patch... > > On Tue, Jan 12, 2016 at 11:15 PM, Philipp Zabel > wrote: > > From: CK Hu > > > > This patch add a drm encoder/connector driver for the MIPI DSI function > > block of the Mediatek display subsys

[PATCH v8 08/13] arm64: dts: mt8173: Add display subsystem related nodes

2016-02-03 Thread Philipp Zabel
Hi Daniel, Am Dienstag, den 02.02.2016, 16:10 +0800 schrieb Daniel Kurtz: > On Tue, Jan 5, 2016 at 1:36 AM, Philipp Zabel > wrote: > > From: CK Hu > > > > This patch adds the device nodes for the DISP function blocks > > comprising the display subsystem

[PATCH v9 02/14] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2016-02-03 Thread Philipp Zabel
Hi Daniel, Am Mittwoch, den 20.01.2016, 14:23 -0800 schrieb Daniel Kurtz: > Hi Philipp, > > This driver is looking very good now to me. > > Sorry for the delay reviewing. Some comments inline below. [...] > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c > > b/drivers/gpu/drm/mediatek/

[PATCH v9 02/14] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2016-02-03 Thread Philipp Zabel
Hi Daniel, Am Mittwoch, den 03.02.2016, 01:12 +0800 schrieb Daniel Kurtz: [...] > > +int mtk_drm_crtc_create(struct drm_device *drm_dev, > > + const enum mtk_ddp_comp_id *path, unsigned int > > path_len) > > +{ [...] > > + for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) {

[PATCH v10 00/13] MT8173 DRM support

2016-02-03 Thread Philipp Zabel
: Add display subsystem related nodes arm64: dts: mt8173: Add HDMI related nodes Jie Qiu (3): drm/mediatek: Add DPI sub driver drm/mediatek: Add HDMI support drm/mediatek: enable hdmi output control bit Philipp Zabel (5): dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding clk: me

[PATCH v10 01/13] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2016-02-03 Thread Philipp Zabel
From: CK Hu Add device tree binding documentation for the display subsystem in Mediatek MT8173 SoCs. Signed-off-by: CK Hu Signed-off-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/display/mediatek/mediatek,disp.txt| 203 + .../bindings/display/mediatek

[PATCH v10 02/13] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2016-02-03 Thread Philipp Zabel
: Bibby Hsieh Signed-off-by: Mao Huang Signed-off-by: Philipp Zabel --- Changes since v9: - initially disable all planes to fix an iommu warning issue - store crtc in ovl so we don't have to look it up every irq - change the ovl input color format setup - merge layer_on/off component ops

[PATCH v10 03/13] drm/mediatek: Add DSI sub driver

2016-02-03 Thread Philipp Zabel
From: CK Hu This patch add a drm encoder/connector driver for the MIPI DSI function block of the Mediatek display subsystem and a phy driver for the MIPI TX D-PHY control module. Signed-off-by: Jitao Shi Signed-off-by: Philipp Zabel -- Changes since v9: - don't crash on cleanup i

[PATCH v10 04/13] drm/mediatek: Add DPI sub driver

2016-02-03 Thread Philipp Zabel
From: Jie Qiu Add DPI connector/encoder to support HDMI output via the attached HDMI bridge. Signed-off-by: Jie Qiu Signed-off-by: Philipp Zabel --- Changes since v9: - whitespace fixes --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 757

[PATCH v10 05/13] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding

2016-02-03 Thread Philipp Zabel
Add the device tree binding documentation for Mediatek HDMI, HDMI PHY and HDMI DDC devices. Signed-off-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/display/mediatek/mediatek,hdmi.txt| 148 + 1 file changed, 148 insertions(+) create mode 100644

<    5   6   7   8   9   10   11   12   13   14   >