[GIT PULL] Armada DRM atomic modeset conversion
Russell King
rmk at armlinux.org.uk
Mon Jul 30 11:05:43 UTC 2018
Hi David,
The following changes since commit 3fce4618279373efc59a91adb16c11da46cd69e5:
BackMerge v4.18-rc7 into drm-next (2018-07-30 10:39:22 +1000)
are available in the git repository at:
git://git.armlinux.org.uk/~rmk/linux-arm.git drm-armada-devel
for you to fetch changes up to aa595c00bcf5b6f2f394a98217f82c9402952ea9:
drm/armada: remove obsolete fb unreferencing kfifo and workqueue (2018-07-30 11:53:06 +0100)
This set of changes migrates Armada DRM from legacy modeset to atomic
modeset. This is everything from the "Transition Armada DRM planes to
atomic state" and "Finish Armada DRM transition to atomic modeset"
patch sets as posted on drm-devel, excluding the "Finish Armada DRM DT
support" series.
These series did not evoke any comments - if there are any, these can
be addressed via follow up patches.
Developed and tested on Dove Cubox with xf86-video-armada including the
overlay plane, and also tested with the tools in libdrm.
Thanks.
----------------------------------------------------------------
Russell King (37):
drm/armada: clean up armada_drm_crtc_page_flip()
drm/armada: add rectangle helpers
drm/armada: move mode set vblank handling and disable/enable
drm/armada: use core of primary update_plane for mode set
drm/armada: merge armada_drm_gra_plane_regs() into only caller
drm/armada: reset all atomic state during driver initialisation
drm/armada: convert primary plane to atomic state
drm/armada: convert page_flip to use primary plane atomic_update()
drm/armada: convert overlay plane to atomic state
drm/armada: remove temporary crtc state
drm/armada: use old_state for update tracking in atomic_update()
drm/armada: move primary plane to separate file
drm/armada: move plane works to overlay
drm/armada: move CBSH properties into overlay plane state
drm/armada: move colorkey properties into overlay plane state
drm/armada: remove crtc YUV colourspace properties
drm/armada: add plane colorspace properties
drm/armada: move armada_drm_mode_config_funcs to armada_drv.c
drm/armada: pass plane state into armada_drm_plane_calc_addrs()
drm/armada: provide pitches from armada_drm_plane_calc_addrs()
drm/armada: push interlace calculation into armada_drm_plane_calc()
drm/armada: move sync signal polarity to mode_set_nofb() method
drm/armada: update debug in armada_drm_crtc_mode_set_nofb()
drm/armada: clean up SPU_ADV_REG
drm/armada: handle atomic modeset crtc events
drm/armada: push responsibility for clock management to backend
drm/armada: unhook dpms state from armada_drm_crtc_update()
drm/armada: implement atomic_enable()/atomic_disable() methods
drm/armada: enable atomic modeset support
drm/armada: switch legacy modeset to atomic modeset
drm/armada: switch primary plane to atomic modeset
drm/armada: switch overlay plane to atomic modeset
drm/armada: update planes after the dumb frame is complete
drm/armada: update primary framebuffer parameters on mode change
drm/armada: remove unnecessary armada_ovl_plane structure
drm/armada: remove unnecessary armada_plane structure
drm/armada: remove obsolete fb unreferencing kfifo and workqueue
Souptick Joarder (1):
drm/armada: Adding new typedef vm_fault_t
Thomas Zimmermann (1):
drm/armada: Replace drm_dev_unref with drm_dev_put
drivers/gpu/drm/armada/Makefile | 2 +-
drivers/gpu/drm/armada/armada_510.c | 24 +-
drivers/gpu/drm/armada/armada_crtc.c | 1008 +++++--------------------------
drivers/gpu/drm/armada/armada_crtc.h | 56 +-
drivers/gpu/drm/armada/armada_drm.h | 14 +-
drivers/gpu/drm/armada/armada_drv.c | 54 +-
drivers/gpu/drm/armada/armada_fb.c | 7 +-
drivers/gpu/drm/armada/armada_fb.h | 3 +-
drivers/gpu/drm/armada/armada_fbdev.c | 4 +-
drivers/gpu/drm/armada/armada_gem.c | 15 +-
drivers/gpu/drm/armada/armada_hw.h | 15 +
drivers/gpu/drm/armada/armada_overlay.c | 665 +++++++++++---------
drivers/gpu/drm/armada/armada_plane.c | 289 +++++++++
drivers/gpu/drm/armada/armada_plane.h | 15 +
14 files changed, 921 insertions(+), 1250 deletions(-)
create mode 100644 drivers/gpu/drm/armada/armada_plane.c
create mode 100644 drivers/gpu/drm/armada/armada_plane.h
More information about the dri-devel
mailing list