All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH hwc v2 00/18] Add scene flattening support
@ 2018-04-11 15:22 Alexandru Gheorghe
  2018-04-11 15:22 ` [PATCH hwc v2 01/18] drm_hwcomposer: vsyncworker: Fix uninitialized enabled_ field Alexandru Gheorghe
                   ` (18 more replies)
  0 siblings, 19 replies; 59+ messages in thread
From: Alexandru Gheorghe @ 2018-04-11 15:22 UTC (permalink / raw)
  To: dri-devel, liviu.dudau, brian.starkey, ayan.halder, seanpaul
  Cc: nd, Alexandru Gheorghe

Flattening a scene in order to reduce memory consumption it's an idea
which had been floating around on irc and mailing list several times,
this patchset adds support for flattening a scene using a writeback
connector, the latest version of the kernel patches could be found
here [1].

v1 for this patch series could be found here [2].

Changes since v1:
  - Add support to use either the same crtc or a dedicated one, this
    had been discussed on irc here [3].
  - Add support for parsing more than one drm node, this is triggered
    by the fact the on Mali DP each device has it's own driver, so
    it's needed in order to use a dedicate crtc for flattening.
  - Parse encoder possible_clones to detect if writeback could
    function simultaneously with the display connector.
  - Fixes for some bugs discovered while working on this.
  - Split changes in multiple patches.

The patches could be classified in:

[1-3]: Bug fixes that could be independently merged
  drm_hwcomposer: vsyncworker: Fix uninitialized enabled_ field
  drm_hwcomposer: vsyncworker: Fix deadlock on exit path
  drm_hwcomposer: drmeventlistener: Set nl_pid to 0

[4-5]: Support for multiple drm devices:
  drm_hwcomposer: Add resource manager class
  drm_hwcomposer: Enable resource manager support

[6-18]: Scene flattening support
  drm_hwcomposer: Add writeback connector support
  drm_hwcomposer: Add display field to Drmencoder
  drm_hwcomposer: Parse and store possible_clones information
  drm_hwcomposer: Handle writeback connectors
  drm_hwcomposer: hwcutils: Add function for cloning a DrmHwcLayer
  drm_hwcomposer: Add utility functions to copy displaycomposition
    internals
  drm_hwcomposer: Add utility function to create an initialized
    composition
  drm_hwcomposer: Pass buffer sizes to Prepareframebuffer
  drm_hwcomposer: Fix race in ApplyFrame
  drm_hwcomposer: Add worker to trigger scene flattenning
  drm_hwcomposer: Find writeback connector for scene flattening
  drm_hwcomposer: Flatten scene synchronously
  drm_hwcomposer: Flatten scene asynchronously

Tested both code paths on Mali DP with some hacks that disable
the GLCompositor.

[1] https://lists.freedesktop.org/archives/dri-devel/2018-February/167703.html
[2] https://www.spinics.net/lists/dri-devel/msg169046.html
[3] https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&date=2018-03-21



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

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

end of thread, other threads:[~2018-04-18 17:21 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-11 15:22 [PATCH hwc v2 00/18] Add scene flattening support Alexandru Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 01/18] drm_hwcomposer: vsyncworker: Fix uninitialized enabled_ field Alexandru Gheorghe
2018-04-16 10:30   ` Robert Foss
2018-04-16 12:18     ` Alexandru-Cosmin Gheorghe
2018-04-17 13:45       ` Sean Paul
2018-04-17 14:09         ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 02/18] drm_hwcomposer: vsyncworker: Fix deadlock on exit path Alexandru Gheorghe
2018-04-16 10:31   ` Robert Foss
2018-04-16 19:25   ` Sean Paul
2018-04-17 13:32     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 03/18] drm_hwcomposer: drmeventlistener: Set nl_pid to 0 Alexandru Gheorghe
2018-04-16 10:32   ` Robert Foss
2018-04-11 15:22 ` [PATCH hwc v2 04/18] drm_hwcomposer: Add resource manager class Alexandru Gheorghe
2018-04-17 15:33   ` Sean Paul
2018-04-17 16:08     ` Robert Foss
2018-04-18 10:12       ` Alexandru-Cosmin Gheorghe
2018-04-18 10:14         ` Robert Foss
2018-04-11 15:22 ` [PATCH hwc v2 05/18] drm_hwcomposer: Enable resource manager support Alexandru Gheorghe
2018-04-16 19:54   ` Sean Paul
2018-04-17 13:43     ` Alexandru-Cosmin Gheorghe
2018-04-17 14:22       ` Sean Paul
2018-04-17 14:26   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 06/18] drm_hwcomposer: Add writeback connector support Alexandru Gheorghe
2018-04-16 19:59   ` Sean Paul
2018-04-17 13:46     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 07/18] drm_hwcomposer: Add display field to Drmencoder Alexandru Gheorghe
2018-04-16 20:02   ` Sean Paul
2018-04-17 13:49     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 08/18] drm_hwcomposer: Parse and store possible_clones information Alexandru Gheorghe
2018-04-16 20:19   ` Sean Paul
2018-04-17 14:03     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 09/18] drm_hwcomposer: Handle writeback connectors Alexandru Gheorghe
2018-04-17 15:45   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 10/18] drm_hwcomposer: hwcutils: Add function for cloning a DrmHwcLayer Alexandru Gheorghe
2018-04-17 16:14   ` Sean Paul
2018-04-18 10:22     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 11/18] drm_hwcomposer: Add utility functions to copy displaycomposition internals Alexandru Gheorghe
2018-04-17 16:34   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 12/18] drm_hwcomposer: Add utility function to create an initialized composition Alexandru Gheorghe
2018-04-17 16:37   ` Sean Paul
2018-04-18 10:29     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 13/18] drm_hwcomposer: Pass buffer sizes to Prepareframebuffer Alexandru Gheorghe
2018-04-17 16:51   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 14/18] drm_hwcomposer: Fix race in ApplyFrame Alexandru Gheorghe
2018-04-17 17:02   ` Sean Paul
2018-04-18 10:43     ` Alexandru-Cosmin Gheorghe
2018-04-11 15:22 ` [PATCH hwc v2 15/18] drm_hwcomposer: Add worker to trigger scene flattenning Alexandru Gheorghe
2018-04-17 17:07   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 16/18] drm_hwcomposer: Find writeback connector for scene flattening Alexandru Gheorghe
2018-04-17 17:15   ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 17/18] drm_hwcomposer: Flatten scene synchronously Alexandru Gheorghe
2018-04-17 17:47   ` Sean Paul
2018-04-18 11:14     ` Alexandru-Cosmin Gheorghe
2018-04-18 14:49       ` Sean Paul
2018-04-11 15:22 ` [PATCH hwc v2 18/18] drm_hwcomposer: Flatten scene asynchronously Alexandru Gheorghe
2018-04-12 23:18 ` [PATCH hwc v2 00/18] Add scene flattening support John Stultz
2018-04-13  9:52   ` Alexandru-Cosmin Gheorghe
2018-04-13 12:48     ` Alexandru-Cosmin Gheorghe
2018-04-18 17:21       ` John Stultz

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.