All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/31] Convert omapdrm to the atomic updates API
@ 2015-04-15 22:09 Laurent Pinchart
  2015-04-15 22:09 ` [PATCH 01/31] drm: omapdrm: Store the rotation property in dev->mode_config Laurent Pinchart
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: Laurent Pinchart @ 2015-04-15 22:09 UTC (permalink / raw)
  To: dri-devel
  Cc: Thierry Reding, Daniel Vetter, Tomi Valkeinen, Benjamin Gaignard

Hello,

This patch set converts the omapdrm to the atomic update API in 31 small(ish)
and hopefully reviewable steps.

The series is based on the latest drm/next branch and depends on the pending
"drm: omapdrm: Store the rotation property in dev->mode_config" patch by
Daniel Vetter.

The omapdrm loses support for its custom fences in the process. This isn't
deemed to be an issue, as the custom fences API is used by the SGX driver
only, which requires out-of-tree patches anyway. Fences support will be
reimplemented at a later point on top of the atomic updates conversion using
the mainline fence API.

One known issue is a race condition between asynchronous commits and
drm_release() which can trigger a warning if a commit is applied between the
drm_events_release() call and the WARN_ON(!list_empty(&file_priv->event_list)).
Investigation is ongoing to find out the best way to fix the problem, the
problem seems not to be limited to omapdrm (but can be more or less difficult
to reproduce depending on the driver). Ideas would be welcome, I've CC'ed
maintainers of possibly affected drivers.

There's not much else to be said, details are explained in individual patches.

The patches can be found in my git tree at

	git://linuxtv.org/pinchartl/fbdev.git omapdrm/next

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>

Laurent Pinchart (31):
  drm: omapdrm: Store the rotation property in dev->mode_config
  drm: omapdrm: Apply settings synchronously
  drm: omapdrm: Rename omap_crtc_page_flip_locked to omap_crtc_page_flip
  drm: omapdrm: Rename omap_crtc page flip-related fields
  drm: omapdrm: Simplify IRQ registration
  drm: omapdrm: Cancel pending page flips when closing device
  drm: omapdrm: Rework page flip handling
  drm: omapdrm: Turn vblank on/off when enabling/disabling CRTC
  drm: omapdrm: Fix page flip race with CRTC disable
  drm: omapdrm: Clean up #include's
  drm: omapdrm: Rename CRTC DSS operations with an omap_crtc_dss_ prefix
  drm: omapdrm: Rework CRTC enable/disable for atomic updates
  drm: omapdrm: Implement encoder .disable() and .enable() operations
  drm: omapdrm: Wire up atomic state object scaffolding
  drm: omapdrm: Implement planes atomic operations
  drm: omapdrm: Handle primary plane config through atomic plane ops
  drm: omapdrm: Switch plane update to atomic helpers
  drm: omapdrm: Switch mode config to atomic helpers
  drm: omapdrm: Switch connector DPMS to atomic helpers
  drm: omapdrm: Replace encoder mode_fixup with atomic_check
  drm: omapdrm: Implement asynchronous commit support
  drm: omapdrm: Switch page flip to atomic helpers
  drm: omapdrm: Drop manual framebuffer pin handling
  drm: omapdrm: Switch crtc and plane set_property to atomic helpers
  drm: omapdrm: Move plane info and win out of the plane structure
  drm: omapdrm: Move crtc info out of the crtc structure
  drm: omapdrm: Remove omap_crtc enabled field
  drm: omapdrm: Remove omap_plane enabled field
  drm: omapdrm: Make the omap_crtc_flush function static
  drm: omapdrm: Don't get/put dispc in omap_crtc_flush()
  drm: omapdrm: omap_crtc_flush() isn't called with modeset locked

 drivers/gpu/drm/omapdrm/omap_connector.c  |  12 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c       | 580 +++++++++++++-----------------
 drivers/gpu/drm/omapdrm/omap_debugfs.c    |   6 +-
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c  |  19 +-
 drivers/gpu/drm/omapdrm/omap_drv.c        | 162 ++++++++-
 drivers/gpu/drm/omapdrm/omap_drv.h        |  52 +--
 drivers/gpu/drm/omapdrm/omap_encoder.c    |  60 ++--
 drivers/gpu/drm/omapdrm/omap_fb.c         |   8 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c      |   6 +-
 drivers/gpu/drm/omapdrm/omap_gem.c        |   4 +-
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c |   4 +-
 drivers/gpu/drm/omapdrm/omap_irq.c        | 106 ++----
 drivers/gpu/drm/omapdrm/omap_plane.c      | 426 +++++++++-------------
 13 files changed, 656 insertions(+), 789 deletions(-)

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2015-04-20 11:23 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-15 22:09 [PATCH 00/31] Convert omapdrm to the atomic updates API Laurent Pinchart
2015-04-15 22:09 ` [PATCH 01/31] drm: omapdrm: Store the rotation property in dev->mode_config Laurent Pinchart
2015-04-15 22:09 ` [PATCH 02/31] drm: omapdrm: Apply settings synchronously Laurent Pinchart
2015-04-15 22:09 ` [PATCH 03/31] drm: omapdrm: Rename omap_crtc_page_flip_locked to omap_crtc_page_flip Laurent Pinchart
2015-04-15 22:09 ` [PATCH 04/31] drm: omapdrm: Rename omap_crtc page flip-related fields Laurent Pinchart
2015-04-15 22:09 ` [PATCH 05/31] drm: omapdrm: Simplify IRQ registration Laurent Pinchart
2015-04-15 22:09 ` [PATCH 06/31] drm: omapdrm: Cancel pending page flips when closing device Laurent Pinchart
2015-04-15 22:09 ` [PATCH 07/31] drm: omapdrm: Rework page flip handling Laurent Pinchart
2015-04-15 22:09 ` [PATCH 08/31] drm: omapdrm: Turn vblank on/off when enabling/disabling CRTC Laurent Pinchart
2015-04-15 22:09 ` [PATCH 09/31] drm: omapdrm: Fix page flip race with CRTC disable Laurent Pinchart
2015-04-15 22:09 ` [PATCH 10/31] drm: omapdrm: Clean up #include's Laurent Pinchart
2015-04-15 22:09 ` [PATCH 11/31] drm: omapdrm: Rename CRTC DSS operations with an omap_crtc_dss_ prefix Laurent Pinchart
2015-04-15 22:09 ` [PATCH 12/31] drm: omapdrm: Rework CRTC enable/disable for atomic updates Laurent Pinchart
2015-04-15 22:09 ` [PATCH 13/31] drm: omapdrm: Implement encoder .disable() and .enable() operations Laurent Pinchart
2015-04-15 22:09 ` [PATCH 14/31] drm: omapdrm: Wire up atomic state object scaffolding Laurent Pinchart
2015-04-15 22:09 ` [PATCH 15/31] drm: omapdrm: Implement planes atomic operations Laurent Pinchart
2015-04-15 22:09 ` [PATCH 16/31] drm: omapdrm: Handle primary plane config through atomic plane ops Laurent Pinchart
2015-04-15 22:09 ` [PATCH 17/31] drm: omapdrm: Switch plane update to atomic helpers Laurent Pinchart
2015-04-15 22:09 ` [PATCH 18/31] drm: omapdrm: Switch mode config " Laurent Pinchart
2015-04-15 22:09 ` [PATCH 19/31] drm: omapdrm: Switch connector DPMS " Laurent Pinchart
2015-04-15 22:09 ` [PATCH 20/31] drm: omapdrm: Replace encoder mode_fixup with atomic_check Laurent Pinchart
2015-04-15 22:09 ` [PATCH 21/31] drm: omapdrm: Implement asynchronous commit support Laurent Pinchart
2015-04-15 22:09 ` [PATCH 22/31] drm: omapdrm: Switch page flip to atomic helpers Laurent Pinchart
2015-04-15 22:09 ` [PATCH 23/31] drm: omapdrm: Drop manual framebuffer pin handling Laurent Pinchart
2015-04-15 22:09 ` [PATCH 24/31] drm: omapdrm: Switch crtc and plane set_property to atomic helpers Laurent Pinchart
2015-04-15 22:09 ` [PATCH 25/31] drm: omapdrm: Move plane info and win out of the plane structure Laurent Pinchart
2015-04-15 22:09 ` [PATCH 26/31] drm: omapdrm: Move crtc info out of the crtc structure Laurent Pinchart
2015-04-15 22:09 ` [PATCH 27/31] drm: omapdrm: Remove omap_crtc enabled field Laurent Pinchart
2015-04-15 22:09 ` [PATCH 28/31] drm: omapdrm: Remove omap_plane " Laurent Pinchart
2015-04-15 22:09 ` [PATCH 29/31] drm: omapdrm: Make the omap_crtc_flush function static Laurent Pinchart
2015-04-15 22:09 ` [PATCH 30/31] drm: omapdrm: Don't get/put dispc in omap_crtc_flush() Laurent Pinchart
2015-04-15 22:09 ` [PATCH 31/31] drm: omapdrm: omap_crtc_flush() isn't called with modeset locked Laurent Pinchart
2015-04-16  9:12 ` [PATCH 00/31] Convert omapdrm to the atomic updates API Daniel Vetter
2015-04-20 11:22 ` Tomi Valkeinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.