[GIT PULL] drm: sti: convert driver to atomic (step2)

Benjamin Gaignard benjamin.gaignard at linaro.org
Tue Aug 11 03:06:12 PDT 2015


Hello Dave,

This serie of patches fix minor bugs around how driver sub-components are
bind and planes z-ordering.
The main part is about atomic support: using more atomic helpers allow us
to simplify the code (~300 lines removed) and to ahve a better match between
drm concepts (planes and crtc) and hardware split.

Regards,
Benjamin

The following changes since commit dcd14dd957f02ef679c61325a2221a0574bdcab3:

  Merge tag 'topic/connector-locking-2015-07-23' of
git://anongit.freedesktop.org/drm-intel into drm-next (2015-07-24
14:30:29 +1000)

are available in the git repository at:


  http://git.linaro.org/people/benjamin.gaignard/kernel.git
drm-sti-next-atomic-2015-08-11

for you to fetch changes up to 29d1dc62e1618192a25bd2eae9617529b9930cfc:

  drm/sti: atomic crtc/plane update (2015-08-03 14:26:05 +0200)

----------------------------------------------------------------
Benjamin Gaignard (1):
      drm: sti: fix sub-components bind

Vincent Abriou (4):
      drm/sti: fix dynamic z-ordering
      drm/sti: code clean up
      drm/sti: rename files and functions
      drm/sti: atomic crtc/plane update

 .../devicetree/bindings/gpu/st,stih4xx.txt         |  72 ++-
 drivers/gpu/drm/sti/Makefile                       |   7 +-
 drivers/gpu/drm/sti/sti_compositor.c               | 141 +++---
 drivers/gpu/drm/sti/sti_compositor.h               |  12 +-
 drivers/gpu/drm/sti/{sti_drm_crtc.c => sti_crtc.c} | 209 +++++---
 drivers/gpu/drm/sti/sti_crtc.h                     |  22 +
 drivers/gpu/drm/sti/sti_cursor.c                   | 243 ++++++----
 drivers/gpu/drm/sti/sti_cursor.h                   |   5 +-
 drivers/gpu/drm/sti/sti_drm_crtc.h                 |  22 -
 drivers/gpu/drm/sti/sti_drm_plane.c                | 251 ----------
 drivers/gpu/drm/sti/sti_drm_plane.h                |  18 -
 drivers/gpu/drm/sti/{sti_drm_drv.c => sti_drv.c}   | 147 +++---
 drivers/gpu/drm/sti/{sti_drm_drv.h => sti_drv.h}   |   6 +-
 drivers/gpu/drm/sti/sti_gdp.c                      | 536 ++++++++++++---------
 drivers/gpu/drm/sti/sti_gdp.h                      |   7 +-
 drivers/gpu/drm/sti/sti_hdmi.c                     |  27 +-
 drivers/gpu/drm/sti/sti_hqvdp.c                    | 482 +++++++++---------
 drivers/gpu/drm/sti/sti_hqvdp.h                    |  12 -
 drivers/gpu/drm/sti/sti_layer.c                    | 213 --------
 drivers/gpu/drm/sti/sti_layer.h                    | 131 -----
 drivers/gpu/drm/sti/sti_mixer.c                    |  72 ++-
 drivers/gpu/drm/sti/sti_mixer.h                    |  27 +-
 drivers/gpu/drm/sti/sti_plane.c                    | 122 +++++
 drivers/gpu/drm/sti/sti_plane.h                    |  71 +++
 drivers/gpu/drm/sti/sti_tvout.c                    |  54 +--
 drivers/gpu/drm/sti/sti_vid.c                      |  72 ++-
 drivers/gpu/drm/sti/sti_vid.h                      |  19 +-
 27 files changed, 1344 insertions(+), 1656 deletions(-)
 rename drivers/gpu/drm/sti/{sti_drm_crtc.c => sti_crtc.c} (57%)
 create mode 100644 drivers/gpu/drm/sti/sti_crtc.h
 delete mode 100644 drivers/gpu/drm/sti/sti_drm_crtc.h
 delete mode 100644 drivers/gpu/drm/sti/sti_drm_plane.c
 delete mode 100644 drivers/gpu/drm/sti/sti_drm_plane.h
 rename drivers/gpu/drm/sti/{sti_drm_drv.c => sti_drv.c} (61%)
 rename drivers/gpu/drm/sti/{sti_drm_drv.h => sti_drv.h} (90%)
 delete mode 100644 drivers/gpu/drm/sti/sti_hqvdp.h
 delete mode 100644 drivers/gpu/drm/sti/sti_layer.c
 delete mode 100644 drivers/gpu/drm/sti/sti_layer.h
 create mode 100644 drivers/gpu/drm/sti/sti_plane.c
 create mode 100644 drivers/gpu/drm/sti/sti_plane.h


More information about the dri-devel mailing list