Skip to content

imx drm atomic mode setting conversion

Liu Ying dri-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 0 repliesNew
  2. v310 patches 11 repliesSuperseded
  3. v210 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v114 patches22 repliesSuperseded

Changes in v4 from the cover letter

* Rebase onto Daniel Vetter's open git branch for-linux-next.
* Fix wrong LVDS bus format translation issue in imx_ldb_connector_get_modes() so that bus format could be determined by panel instead of device tree.
This issue was found by Philipp Zabel.
* Staticize ipu_plane_atomic_set_base()..

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/imx: ipuv3 plane: Check different types of plane separatelydrivers/gpu/drm/imx/ipuv3-plane.c+38 -290 replies
2/10gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanismdrivers/gpu/drm/imx/ipuv3-plane.c drivers/gpu/ipu-v3/ipu-dmfc.c include/video/imx-ipu-v3.h+7 -2350 replies
3/10drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpersdrivers/gpu/drm/imx/ipuv3-crtc.c drivers/gpu/drm/imx/ipuv3-plane.c drivers/gpu/drm/imx/ipuv3-plane.h +2 more+410 -3220 replies
4/10drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroydrivers/gpu/drm/bridge/dw-hdmi.c drivers/gpu/drm/imx/imx-drm-core.c drivers/gpu/drm/imx/imx-ldb.c +4 more+25 -00 replies
5/10drm/imx: atomic phase 2 step 2: Track plane_state->fb correctly in ->page_flipdrivers/gpu/drm/imx/ipuv3-crtc.c+4 -00 replies
6/10drm/imx: Remove encoders' ->prepare callbacksdrivers/gpu/drm/imx/dw_hdmi-imx.c drivers/gpu/drm/imx/imx-drm-core.c drivers/gpu/drm/imx/imx-drm.h +4 more+142 -2030 replies
7/10drm/imx: atomic phase 3 step 1: Use atomic configurationdrivers/gpu/drm/imx/imx-drm-core.c drivers/gpu/drm/imx/ipuv3-crtc.c drivers/gpu/drm/imx/ipuv3-plane.c +1 more+114 -3080 replies
8/10drm/bridge: dw-hdmi: Remove the legacy drm_connector_funcs structuredrivers/gpu/drm/bridge/dw-hdmi.c+3 -190 replies
9/10drm/imx: atomic phase 3 step 2: Legacy callback fixupsdrivers/gpu/drm/imx/dw_hdmi-imx.c drivers/gpu/drm/imx/imx-ldb.c drivers/gpu/drm/imx/imx-tve.c +2 more+27 -820 replies
10/10drm/imx: atomic phase 3 step 3: Advertise DRIVER_ATOMICdrivers/gpu/drm/imx/imx-drm-core.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 00/10] imx drm atomic mode setting conversion

Hi,

This is the v4 patch set to convert imx drm into atomic mode setting. It takes 3 phases to achieve the goal.

v3->v4:
* Rebase onto Daniel Vetter's open git branch for-linux-next.
* Fix wrong LVDS bus format translation issue in imx_ldb_connector_get_modes() so that bus format could be determined by panel instead of device tree.
This issue was found by Philipp Zabel.
* Staticize ipu_plane_atomic_set_base()..

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.

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          | 138 +++++----
 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, 601 insertions(+), 1028 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel