From: Daniel Vetter <daniel@ffwll.ch>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
dri-devel@lists.freedesktop.org,
Tomi Valkeinen <tomi.valkeinen@ti.com>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
Thierry Reding <treding@nvidia.com>
Subject: Re: [PATCH 00/31] Convert omapdrm to the atomic updates API
Date: Thu, 16 Apr 2015 11:12:45 +0200 [thread overview]
Message-ID: <20150416091244.GP6092@phenom.ffwll.local> (raw)
In-Reply-To: <1429135788-31979-1-git-send-email-laurent.pinchart@ideasonboard.com>
On Thu, Apr 16, 2015 at 01:09:17AM +0300, Laurent Pinchart wrote:
> 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.
Known issue, every driver has to currently hand-roll their pending events
code, and many don't :( One of my goals with rewriting drm_irq.c was to
make it possible to fix this up, but somehow that gets pushed down the
priority list forever ...
-Daniel
>
> 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
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-04-16 9:10 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Daniel Vetter [this message]
2015-04-20 11:22 ` [PATCH 00/31] Convert omapdrm to the atomic updates API Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150416091244.GP6092@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=benjamin.gaignard@linaro.org \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=tomi.valkeinen@ti.com \
--cc=treding@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.