public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: dri-devel@lists.freedesktop.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>,
	thierry.reding@gmail.com, airlied@linux.ie,
	tomi.valkeinen@ti.com, Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, daniel.vetter@ffwll.ch,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>
Subject: Re: [PATCH 00/26] drm/omap: Convert to use videomode from omap_video_timings
Date: Wed, 14 Dec 2016 23:32:58 +0200	[thread overview]
Message-ID: <3115831.KSyLVyBdAU@avalon> (raw)
In-Reply-To: <20160901112320.15246-1-peter.ujfalusi@ti.com>

Hi Peter,

On Thursday 01 Sep 2016 14:22:54 Peter Ujfalusi wrote:
> Hi,
> 
> The following series will convert the omapdrm stack to use the generic
> videmode instead of the private omap_video_timings struct for the panel
> information.
> 
> Since we have several panels under omapdrm/displays/ where the data drive
> edge is set to be different then the sync drive edge, the first three patch
> will add support to select the sync drive edge via DT.
> I was not able to locate the datasheet for all the panels and because the
> different edge was used in omapdrm and omapfb for a long time without
> complains from users - and they were written this way - I think it is a
> valid that we can have panels requiring different edge for data and sync to
> be driven.

That's very peculiar. Have you been able to locate at least one panel 
datasheet that documents this requirement ?

> The rest of the patches are most mechanical ones. I have decided to split it
> up to small chunks and did one change at the time to finally remove the
> omap_video_timings from omapdrm.
> 
> 
> CC: Rob Herring <robh+dt@kernel.org>
> CC: Mark Rutland <mark.rutland@arm.com>
> CC: devicetree@vger.kernel.org
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (26):
>   dt-bindings: display: display-timing: Add property to configure sync
>     drive edge
>   video: display_timing: Add flags to select the edge when the sync is
>     driven
>   video: of: display_timing: Add support for syncclk-active property
>   drm/omap: omap_display_timings: rename x_res to hactive
>   drm/omap: omap_display_timings: rename y_res to vactive
>   drm/omap: omap_display_timings: rename hsw to hsync_len
>   drm/omap: omap_display_timings: rename hfp to hfront_porch
>   drm/omap: omap_display_timings: rename hbp to hback_porch
>   drm/omap: omap_display_timings: rename vsw to vsync_len
>   drm/omap: omap_display_timings: rename vfp to vfront_porch
>   drm/omap: omap_display_timings: rename vbp to vback_porch
>   drm/omap: HDMI5: Use pointer to cfg->v_fc_config.timings in
>     hdmi_core_video_config
>   drm/omap: omap_display_timings: Use display_flags for interlace mode
>   drm/omap: dispc: Simplify _dispc_mgr_set_lcd_timings() parameters
>   drm/omap: omap_display_timings: Use display_flags for h/vsync level
>   drm/omap: omap_display_timings: Use display_flags for DE level
>   drm/omap: omap_display_timings: Use display_flags for double_pixel
>     mode
>   drm/omap: omap_display_timings: Use display_flags for pixel data edge
>   drm/omap: omap_display_timings: Use display_flags for sync edge
>   drm/omap: Change the types of struct omap_video_timings members
>   drm/omap: Replace struct omap_video_timings with videomode
>   drm/omap: Use consistent name for struct videomode
>   drm/omap: panel-tpo-td043mtea1: Add note for incorrect sync drive edge
>   drm/omap: panel-tpo-td028ttec1: Add note for incorrect sync drive edge
>   drm/omap: panel-sharp-ls037v7dw01: Add note for incorrect data drive
>     edge
>   drm/omap: panel-lgphilips-lb035q02: Add note for incorrect data drive
>     edge and DE level
> 
>  .../bindings/display/panel/display-timing.txt      |   6 +
>  .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  47 ++---
>  drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |  50 +++--
>  drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |  49 +++--
>  drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |  20 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |  31 ++-
>  .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |  20 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dpi.c       |  30 ++-
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c    |  25 ++-
>  .../omapdrm/displays/panel-lgphilips-lb035q02.c    |  59 +++---
>  .../drm/omapdrm/displays/panel-nec-nl8048hl11.c    |  52 +++--
>  .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |  58 +++---
>  .../drm/omapdrm/displays/panel-sony-acx565akm.c    |  53 +++--
>  .../drm/omapdrm/displays/panel-tpo-td028ttec1.c    |  57 +++---
>  .../drm/omapdrm/displays/panel-tpo-td043mtea1.c    |  54 ++---
>  drivers/gpu/drm/omapdrm/dss/dispc.c                | 222 ++++++++----------
>  drivers/gpu/drm/omapdrm/dss/display.c              |  78 +-------
>  drivers/gpu/drm/omapdrm/dss/dpi.c                  |  40 ++--
>  drivers/gpu/drm/omapdrm/dss/dsi.c                  | 156 ++++++++-------
>  drivers/gpu/drm/omapdrm/dss/dss.h                  |   5 +-
>  drivers/gpu/drm/omapdrm/dss/hdmi.h                 |   8 +-
>  drivers/gpu/drm/omapdrm/dss/hdmi4.c                |  31 +--
>  drivers/gpu/drm/omapdrm/dss/hdmi4_core.c           |   8 +-
>  drivers/gpu/drm/omapdrm/dss/hdmi5.c                |  31 +--
>  drivers/gpu/drm/omapdrm/dss/hdmi5_core.c           |  85 ++++----
>  drivers/gpu/drm/omapdrm/dss/hdmi_wp.c              |  73 ++++---
>  drivers/gpu/drm/omapdrm/dss/omapdss.h              |  98 +++------
>  drivers/gpu/drm/omapdrm/dss/output.c               |   5 +-
>  drivers/gpu/drm/omapdrm/dss/rfbi.c                 |  49 +++--
>  drivers/gpu/drm/omapdrm/dss/sdi.c                  |  33 ++-
>  drivers/gpu/drm/omapdrm/dss/venc.c                 |  97 +++++----
>  drivers/gpu/drm/omapdrm/omap_connector.c           |  87 +-------
>  drivers/gpu/drm/omapdrm/omap_crtc.c                |  17 +-
>  drivers/gpu/drm/omapdrm/omap_drv.h                 |   7 +-
>  drivers/gpu/drm/omapdrm/omap_encoder.c             |  10 +-
>  drivers/video/of_display_timing.c                  |   9 +
>  include/video/display_timing.h                     |   4 +
>  37 files changed, 778 insertions(+), 986 deletions(-)

-- 
Regards,

Laurent Pinchart

  parent reply	other threads:[~2016-12-14 21:32 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 11:22 [PATCH 00/26] drm/omap: Convert to use videomode from omap_video_timings Peter Ujfalusi
2016-09-01 11:22 ` [PATCH 01/26] dt-bindings: display: display-timing: Add property to configure sync drive edge Peter Ujfalusi
2016-09-12 13:05   ` Rob Herring
2016-09-12 13:22     ` Peter Ujfalusi
2016-09-01 11:22 ` [PATCH 02/26] video: display_timing: Add flags to select the edge when the sync is driven Peter Ujfalusi
2016-09-01 11:22 ` [PATCH 03/26] video: of: display_timing: Add support for syncclk-active property Peter Ujfalusi
2016-09-01 11:22 ` [PATCH 04/26] drm/omap: omap_display_timings: rename x_res to hactive Peter Ujfalusi
2016-09-15 11:58   ` Tomi Valkeinen
2016-09-01 11:22 ` [PATCH 05/26] drm/omap: omap_display_timings: rename y_res to vactive Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 06/26] drm/omap: omap_display_timings: rename hsw to hsync_len Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 07/26] drm/omap: omap_display_timings: rename hfp to hfront_porch Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 08/26] drm/omap: omap_display_timings: rename hbp to hback_porch Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 09/26] drm/omap: omap_display_timings: rename vsw to vsync_len Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 10/26] drm/omap: omap_display_timings: rename vfp to vfront_porch Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 11/26] drm/omap: omap_display_timings: rename vbp to vback_porch Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 12/26] drm/omap: HDMI5: Use pointer to cfg->v_fc_config.timings in hdmi_core_video_config Peter Ujfalusi
2016-09-15 12:03   ` Tomi Valkeinen
2016-09-01 11:23 ` [PATCH 13/26] drm/omap: omap_display_timings: Use display_flags for interlace mode Peter Ujfalusi
2016-09-15 12:06   ` Tomi Valkeinen
2016-09-01 11:23 ` [PATCH 14/26] drm/omap: dispc: Simplify _dispc_mgr_set_lcd_timings() parameters Peter Ujfalusi
2016-09-15 12:09   ` Tomi Valkeinen
2016-09-01 11:23 ` [PATCH 15/26] drm/omap: omap_display_timings: Use display_flags for h/vsync level Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 16/26] drm/omap: omap_display_timings: Use display_flags for DE level Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 17/26] drm/omap: omap_display_timings: Use display_flags for double_pixel mode Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 18/26] drm/omap: omap_display_timings: Use display_flags for pixel data edge Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 19/26] drm/omap: omap_display_timings: Use display_flags for sync edge Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 20/26] drm/omap: Change the types of struct omap_video_timings members Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 21/26] drm/omap: Replace struct omap_video_timings with videomode Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 22/26] drm/omap: Use consistent name for struct videomode Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 23/26] drm/omap: panel-tpo-td043mtea1: Add note for incorrect sync drive edge Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 24/26] drm/omap: panel-tpo-td028ttec1: " Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 25/26] drm/omap: panel-sharp-ls037v7dw01: Add note for incorrect data " Peter Ujfalusi
2016-09-01 11:23 ` [PATCH 26/26] drm/omap: panel-lgphilips-lb035q02: Add note for incorrect data drive edge and DE level Peter Ujfalusi
2016-12-14 21:32 ` Laurent Pinchart [this message]
2016-12-15  7:56   ` [PATCH 00/26] drm/omap: Convert to use videomode from omap_video_timings Tomi Valkeinen
2016-12-15  8:12   ` Peter Ujfalusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3115831.KSyLVyBdAU@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox