All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Liu Ying <gnuiyl@gmail.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>,
	dri-devel@lists.freedesktop.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: Re: [PATCH v3 00/10] imx drm atomic mode setting conversion
Date: Tue, 12 Jul 2016 14:51:59 +0200	[thread overview]
Message-ID: <20160712125159.GY23520@phenom.ffwll.local> (raw)
In-Reply-To: <1467618039-7457-1-git-send-email-gnuiyl@gmail.com>

On Mon, Jul 04, 2016 at 03:40:29PM +0800, Liu Ying wrote:
> Hi,
> 
> This is the v3 patch set to convert imx drm into atomic mode setting.
> It takes 3 phases to achieve the goal.
> 
> v2->v3:
> * Rebase onto Daniel Vetter's open git branch topic/drm-misc so that
>   we may better support nonblock atomic commit with the aid from
>   drm atomic helper.
> * Remove dw-hdmi bridge driver's legacy drm_connector_funcs struture
>   step-by-step instead of doing that in patch 04/10 directly.
>   So, patch 08/10 in this set is newly introduced.

Assuming all my feedback has been addressed:

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>

I'd just go ahead and send Dave Airlie a pull req for this, but hurry up
to make it into 4.8.
-Daniel

> 
> v1->v2:
> * Rebase onto Philipp Zabel's open git branch imx-drm/next as Philipp
>   required.
> * Drop patch 05/14 and 10/14 in v1 which touch drm core to disable
>   plane in transitional helper drm_helper_crtc_mode_set and in
>   drm_atomic_helper_disable_all, because we won't get ipu plane
>   resource in v2 when updating plane and failure won't happen.
> * Wait for pending commit on each CRTC for both block and nonblock
>   atomic mode settings.  This way, a block commit will not overwrite
>   the hardware setting when a nonblock page flip is about to finish,
>   so that the page flip may wait for vblank successfully.
> * See changelogs in each patch for other trivial updates.
> 
> Liu Ying (10):
>   drm/imx: ipuv3 plane: Check different types of plane separately
>   gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism
>   drm/imx: atomic phase 1: Use transitional atomic CRTC and plane
>     helpers
>   drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and
>     ->destroy
>   drm/imx: atomic phase 2 step 2: Track plane_state->fb correctly in
>     ->page_flip
>   drm/imx: Remove encoders' ->prepare callbacks
>   drm/imx: atomic phase 3 step 1: Use atomic configuration
>   drm/bridge: dw-hdmi: Remove the legacy drm_connector_funcs structure
>   drm/imx: atomic phase 3 step 2: Legacy callback fixups
>   drm/imx: atomic phase 3 step 3: Advertise DRIVER_ATOMIC
> 
>  drivers/gpu/drm/bridge/dw-hdmi.c       |  19 +-
>  drivers/gpu/drm/imx/dw_hdmi-imx.c      |  22 +-
>  drivers/gpu/drm/imx/imx-drm-core.c     | 120 +++++---
>  drivers/gpu/drm/imx/imx-drm.h          |  18 +-
>  drivers/gpu/drm/imx/imx-ldb.c          | 129 ++++----
>  drivers/gpu/drm/imx/imx-tve.c          |  85 ++----
>  drivers/gpu/drm/imx/ipuv3-crtc.c       | 370 ++++++----------------
>  drivers/gpu/drm/imx/ipuv3-plane.c      | 543 ++++++++++++++++-----------------
>  drivers/gpu/drm/imx/ipuv3-plane.h      |  16 -
>  drivers/gpu/drm/imx/parallel-display.c |  74 +++--
>  drivers/gpu/ipu-v3/ipu-dc.c            |   5 +-
>  drivers/gpu/ipu-v3/ipu-di.c            |   3 -
>  drivers/gpu/ipu-v3/ipu-dmfc.c          | 213 +------------
>  include/video/imx-ipu-v3.h             |   3 -
>  14 files changed, 592 insertions(+), 1028 deletions(-)
> 
> -- 
> 2.7.4
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-07-12 12:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04  7:40 [PATCH v3 00/10] imx drm atomic mode setting conversion Liu Ying
2016-07-04  7:40 ` [PATCH v3 01/10] drm/imx: ipuv3 plane: Check different types of plane separately Liu Ying
2016-07-04  7:40 ` [PATCH v3 02/10] gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism Liu Ying
2016-07-04  7:40 ` [PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers Liu Ying
2016-08-13 10:11   ` Russell King - ARM Linux
2016-08-13 10:45     ` Russell King - ARM Linux
2016-08-13 11:29       ` Russell King - ARM Linux
2016-08-13 14:09         ` Russell King - ARM Linux
2016-08-13 15:00           ` Russell King - ARM Linux
2016-08-14  9:44         ` Daniel Vetter
2016-08-14 10:46           ` Daniel Vetter
2016-08-14 11:43             ` Peter Senna Tschudin
2016-08-15  6:21               ` Ying Liu
2016-07-04  7:40 ` [PATCH v3 04/10] drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroy Liu Ying
2016-07-04  7:40 ` [PATCH v3 05/10] drm/imx: atomic phase 2 step 2: Track plane_state->fb correctly in ->page_flip Liu Ying
2016-07-04  7:40 ` [PATCH v3 06/10] drm/imx: Remove encoders' ->prepare callbacks Liu Ying
2016-07-04  7:40 ` [PATCH v3 07/10] drm/imx: atomic phase 3 step 1: Use atomic configuration Liu Ying
2016-07-04  7:40 ` [PATCH v3 08/10] drm/bridge: dw-hdmi: Remove the legacy drm_connector_funcs structure Liu Ying
2016-07-04  7:40 ` [PATCH v3 09/10] drm/imx: atomic phase 3 step 2: Legacy callback fixups Liu Ying
2016-07-04  7:40 ` [PATCH v3 10/10] drm/imx: atomic phase 3 step 3: Advertise DRIVER_ATOMIC Liu Ying
2016-07-12 12:51 ` Daniel Vetter [this message]
2016-07-12 16:48   ` [PATCH v3 00/10] imx drm atomic mode setting conversion Philipp Zabel

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=20160712125159.GY23520@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gnuiyl@gmail.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.