All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] imx drm atomic mode setting conversion
@ 2016-05-31  9:24 Liu Ying
  2016-05-31  9:24 ` [PATCH v2 01/10] drm/imx: ipuv3 plane: Check different types of plane separately Liu Ying
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Liu Ying @ 2016-05-31  9:24 UTC (permalink / raw)
  To: dri-devel; +Cc: Russell King, Daniel Vetter

Hi,

This patch set converts imx drm into atomic mode setting.
It takes 3 phases to achieve the goal as recommended.

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: atomic phase 3 step 1: Atomic updates for planes
  drm/imx: atomic phase 3 step 2: Use atomic configuration
  drm/imx: atomic phase 3 step 3: Legacy callback fixups
  drm/imx: atomic phase 3 step 4: Use generic atomic page flip
  drm/imx: atomic phase 3 step 5: 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     | 194 +++++++++---
 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       | 359 ++++++----------------
 drivers/gpu/drm/imx/ipuv3-plane.c      | 539 +++++++++++++++++++--------------
 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, 716 insertions(+), 963 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-06-11 20:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31  9:24 [PATCH v2 00/10] imx drm atomic mode setting conversion Liu Ying
2016-05-31  9:24 ` [PATCH v2 01/10] drm/imx: ipuv3 plane: Check different types of plane separately Liu Ying
2016-05-31  9:24 ` [PATCH v2 02/10] gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism Liu Ying
2016-05-31  9:24 ` [PATCH v2 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers Liu Ying
2016-05-31  9:24 ` [PATCH v2 04/10] drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroy Liu Ying
2016-05-31  9:24 ` [PATCH v2 05/10] drm/imx: atomic phase 2 step 2: Track plane_state->fb correctly in ->page_flip Liu Ying
2016-05-31  9:24 ` [PATCH v2 06/10] drm/imx: atomic phase 3 step 1: Atomic updates for planes Liu Ying
2016-05-31  9:24 ` [PATCH v2 07/10] drm/imx: atomic phase 3 step 2: Use atomic configuration Liu Ying
2016-05-31  9:24 ` [PATCH v2 08/10] drm/imx: atomic phase 3 step 3: Legacy callback fixups Liu Ying
2016-05-31  9:24 ` [PATCH v2 09/10] drm/imx: atomic phase 3 step 4: Use generic atomic page flip Liu Ying
2016-05-31 11:03   ` Daniel Vetter
2016-06-11 20:29   ` Daniel Vetter
2016-05-31  9:24 ` [PATCH v2 10/10] drm/imx: atomic phase 3 step 5: Advertise DRIVER_ATOMIC Liu Ying

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.