[Intel-gfx] [PATCH 00/18] atomic helper cleanups

Daniel Vetter daniel.vetter at ffwll.ch
Tue Oct 2 13:35:08 UTC 2018


Hi all,

Here's a pile of atomic helper cleanups. Big chunk is shredding the
transitional helpers, I don't think they're useful anymore. armada is
converted, vboxvideo is getting converted as we speak for 4.20, anything
that's left is probably better to just move over to a simple display pipe
driver.

Also some other related cleanups and driver patches mixed in, some
(reworked) resends.

Comments very much welcome, as usual.

Thanks, Daniel

Daniel Vetter (17):
  drm/amdgpu: Remove default best_encoder hook from DC
  drm/atomic-helper: Unexport drm_atomic_helper_best_encoder
  drm: Extract drm_atomic_state_helper.[hc]
  drm/vmwgfx: Remove confused comment from
    vmw_du_connector_atomic_set_property
  drm/vmwgfx: Don't look at state->allow_modeset
  drm/atomic: Improve docs for drm_atomic_state->allow_modeset
  drm/vmwgfx: Add FIXME comments for customer page_flip handlers
  drm/arcpgu: Drop transitional hooks
  drm/atmel: Drop transitional hooks
  drm/arcpgu: Use drm_atomic_helper_shutdown
  drm/msm: Use drm_atomic_helper_shutdown
  drm/sti: Use drm_atomic_helper_shutdown
  drm/vc4: Use drm_atomic_helper_shutdown
  drm/zte: Use drm_atomic_helper_shutdown
  drm: Remove transitional helpers
  drm: Unexport drm_plane_helper_check_update
  drm: Unexport primary plane helpers

Thomas Hellstrom (1):
  drm/vmwgfx: Fix vmw_du_cursor_plane_atomic_check

 Documentation/gpu/drm-kms-helpers.rst         |  19 +-
 drivers/gpu/drm/Makefile                      |   3 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  14 +-
 drivers/gpu/drm/arc/arcpgu_crtc.c             |   3 -
 drivers/gpu/drm/arc/arcpgu_drv.c              |   1 +
 .../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c    |   2 -
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c     |   1 -
 drivers/gpu/drm/drm_atomic_helper.c           | 590 +----------------
 drivers/gpu/drm/drm_atomic_state_helper.c     | 601 ++++++++++++++++++
 drivers/gpu/drm/drm_crtc_helper.c             | 115 ----
 drivers/gpu/drm/drm_plane_helper.c            | 331 +---------
 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c     |   2 -
 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c    |   1 -
 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c    |   1 -
 drivers/gpu/drm/msm/msm_drv.c                 |   1 +
 drivers/gpu/drm/sti/sti_cursor.c              |   1 -
 drivers/gpu/drm/sti/sti_drv.c                 |   6 +-
 drivers/gpu/drm/sti/sti_gdp.c                 |   1 -
 drivers/gpu/drm/sti/sti_hqvdp.c               |   1 -
 drivers/gpu/drm/vc4/vc4_drv.c                 |   3 +
 drivers/gpu/drm/vc4/vc4_plane.c               |   1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c           |  38 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c           |   1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c          |   3 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c          |   2 +-
 drivers/gpu/drm/zte/zx_drm_drv.c              |   1 +
 drivers/gpu/drm/zte/zx_plane.c                |   1 -
 include/drm/drm_atomic.h                      |  10 +-
 include/drm/drm_atomic_helper.h               |  46 +-
 include/drm/drm_atomic_state_helper.h         |  80 +++
 include/drm/drm_crtc_helper.h                 |   6 -
 include/drm/drm_plane_helper.h                |  35 -
 32 files changed, 767 insertions(+), 1154 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_atomic_state_helper.c
 create mode 100644 include/drm/drm_atomic_state_helper.h

-- 
2.19.0.rc2



More information about the Intel-gfx mailing list