[PATCH 0/7] prepare for atomic/nuclear modeset/pageflip (vN+1)
Rob Clark
robdclark at gmail.com
Fri May 30 10:23:02 PDT 2014
Based on top of the 'prepare for preparing for atomic (v2)' series.
Since previous version posted, reshuffled a few things to pull some
changes ahead of atomic (in 'prepare for preparing..' patchset), and
few little fixes.
This patchset may be a bit more controversial for merging 3.16, but I
think it is worth considering. It certainly will need a few tweaks
as some drivers add native atomic support. And to handle all cases
when we actually expose the atomic ioctl to userspace, I think we
will need at least per-plane locks.
But merging now unblocks driver work. And I think the further changes
needed should not have much impact on drivers, at least no less than
if we merged atomic later.
Can be found at:
http://cgit.freedesktop.org/~robclark/linux/log/?h=cold-fusion
git://people.freedesktop.org/~robclark/linux cold-fusion
Rob Clark (5):
drm: add atomic fxns
drm: split propvals out and blob property support
drm: convert plane to properties/state
drm: convert crtc to properties/state
drm/msm: add atomic support
Sean Paul (1):
drm: Fix up the atomic legacy paths so they work
Ville Syrjälä (1):
drm: Refactor object property check code
drivers/gpu/drm/Makefile | 2 +-
drivers/gpu/drm/armada/armada_crtc.c | 14 +-
drivers/gpu/drm/armada/armada_output.c | 3 +-
drivers/gpu/drm/armada/armada_overlay.c | 14 +-
drivers/gpu/drm/ast/ast_drv.c | 6 +
drivers/gpu/drm/ast/ast_drv.h | 1 +
drivers/gpu/drm/ast/ast_mode.c | 1 +
drivers/gpu/drm/cirrus/cirrus_drv.c | 6 +
drivers/gpu/drm/cirrus/cirrus_drv.h | 1 +
drivers/gpu/drm/cirrus/cirrus_mode.c | 1 +
drivers/gpu/drm/drm_atomic.c | 724 +++++++++++++++
drivers/gpu/drm/drm_crtc.c | 1268 ++++++++++++++++++---------
drivers/gpu/drm/drm_fb_helper.c | 55 +-
drivers/gpu/drm/drm_modeset_lock.c | 28 +
drivers/gpu/drm/drm_plane_helper.c | 2 +
drivers/gpu/drm/exynos/exynos_drm_crtc.c | 11 +-
drivers/gpu/drm/exynos/exynos_drm_drv.c | 7 +
drivers/gpu/drm/exynos/exynos_drm_plane.c | 11 +-
drivers/gpu/drm/gma500/cdv_intel_crt.c | 4 +-
drivers/gpu/drm/gma500/cdv_intel_display.c | 1 +
drivers/gpu/drm/gma500/cdv_intel_dp.c | 7 +-
drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 7 +-
drivers/gpu/drm/gma500/cdv_intel_lvds.c | 10 +-
drivers/gpu/drm/gma500/mdfld_dsi_output.c | 12 +-
drivers/gpu/drm/gma500/psb_drv.c | 7 +
drivers/gpu/drm/gma500/psb_drv.h | 1 +
drivers/gpu/drm/gma500/psb_intel_display.c | 1 +
drivers/gpu/drm/gma500/psb_intel_drv.h | 4 +-
drivers/gpu/drm/gma500/psb_intel_lvds.c | 10 +-
drivers/gpu/drm/gma500/psb_intel_sdvo.c | 23 +-
drivers/gpu/drm/i2c/ch7006_drv.c | 4 +-
drivers/gpu/drm/i915/i915_drv.c | 8 +
drivers/gpu/drm/i915/intel_crt.c | 4 +-
drivers/gpu/drm/i915/intel_display.c | 4 +-
drivers/gpu/drm/i915/intel_dp.c | 7 +-
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_hdmi.c | 7 +-
drivers/gpu/drm/i915/intel_lvds.c | 4 +-
drivers/gpu/drm/i915/intel_sdvo.c | 23 +-
drivers/gpu/drm/i915/intel_sprite.c | 1 +
drivers/gpu/drm/i915/intel_tv.c | 12 +-
drivers/gpu/drm/mgag200/mgag200_drv.c | 7 +
drivers/gpu/drm/mgag200/mgag200_drv.h | 1 +
drivers/gpu/drm/mgag200/mgag200_mode.c | 1 +
drivers/gpu/drm/msm/Makefile | 1 +
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 66 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 6 +
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 1 +
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 14 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 65 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 6 +
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 2 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 14 +-
drivers/gpu/drm/msm/msm_atomic.c | 141 +++
drivers/gpu/drm/msm/msm_drv.c | 26 +
drivers/gpu/drm/msm/msm_drv.h | 8 +
drivers/gpu/drm/msm/msm_gem.c | 24 +-
drivers/gpu/drm/msm/msm_gem.h | 13 +
drivers/gpu/drm/msm/msm_kms.h | 1 +
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 1 +
drivers/gpu/drm/nouveau/dispnv04/overlay.c | 13 +-
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | 3 +-
drivers/gpu/drm/nouveau/nouveau_connector.c | 7 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 7 +
drivers/gpu/drm/nouveau/nouveau_drm.h | 1 +
drivers/gpu/drm/nouveau/nv50_display.c | 1 +
drivers/gpu/drm/omapdrm/omap_crtc.c | 16 +-
drivers/gpu/drm/omapdrm/omap_drv.c | 12 +-
drivers/gpu/drm/omapdrm/omap_drv.h | 4 +-
drivers/gpu/drm/omapdrm/omap_plane.c | 10 +-
drivers/gpu/drm/qxl/qxl_display.c | 6 +-
drivers/gpu/drm/qxl/qxl_drv.c | 9 +
drivers/gpu/drm/radeon/radeon_connectors.c | 9 +-
drivers/gpu/drm/radeon/radeon_display.c | 2 +
drivers/gpu/drm/radeon/radeon_drv.c | 9 +
drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 +
drivers/gpu/drm/rcar-du/rcar_du_drv.c | 7 +
drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c | 3 +-
drivers/gpu/drm/rcar-du/rcar_du_plane.c | 12 +-
drivers/gpu/drm/rcar-du/rcar_du_vgacon.c | 3 +-
drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 6 +-
drivers/gpu/drm/shmobile/shmob_drm_drv.c | 7 +
drivers/gpu/drm/shmobile/shmob_drm_plane.c | 2 +
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 1 +
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 6 +
drivers/gpu/drm/tilcdc/tilcdc_drv.h | 1 +
drivers/gpu/drm/tilcdc/tilcdc_slave.c | 3 +-
drivers/gpu/drm/udl/udl_connector.c | 6 +-
drivers/gpu/drm/udl/udl_drv.c | 8 +
drivers/gpu/drm/udl/udl_modeset.c | 2 +
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 7 +
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 1 +
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 1 +
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 1 +
include/drm/drmP.h | 80 ++
include/drm/drm_atomic.h | 170 ++++
include/drm/drm_crtc.h | 238 ++++-
include/drm/drm_modeset_lock.h | 41 +
include/uapi/drm/drm_mode.h | 3 +
101 files changed, 2815 insertions(+), 628 deletions(-)
create mode 100644 drivers/gpu/drm/drm_atomic.c
create mode 100644 drivers/gpu/drm/msm/msm_atomic.c
create mode 100644 include/drm/drm_atomic.h
--
1.9.3
More information about the dri-devel
mailing list