From: Simona Vetter <simona.vetter@ffwll.ch>
To: Arun R Murthy <arun.r.murthy@intel.com>
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org, chaitanya.kumar.borah@intel.com,
Naveen Kumar <naveen1.kumar@intel.com>,
Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Subject: Re: [PATCH v6 0/3] Expose modifiers/formats supported by async flips
Date: Wed, 19 Feb 2025 14:53:12 +0100 [thread overview]
Message-ID: <Z7XiSGwsPntwP7bd@phenom.ffwll.local> (raw)
In-Reply-To: <20250219-asyn-v6-0-b959e6becb3c@intel.com>
On Wed, Feb 19, 2025 at 02:47:22PM +0530, Arun R Murthy wrote:
> All of the formats/modifiers supported by the plane during synchronous
> flips are nor supported by asynchronous flips. The formats/modifiers
> exposed to user by IN_FORMATS exposes all formats/modifiers supported by
> plane and this list varies for async flips. If the async flip supported
> formats/modifiers are exposed to the user, user based on this list can
> take decision to proceed or not and avoid flip failures during async
> flips.
> Discussion around this can be located @
> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29618#note_2487123
> Userspace implementation for IN_FORMARTS_ASYNC under review @
> https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4063
>
> TODO: Upon merge of the patch related to async flip
> https://patchwork.freedesktop.org/patch/626849/?series=139807&rev=6
> the patch 5 in this series will have to make use of the new function
> pointer can_async_flip().
>
> v3: Add new plane->funcs format_mod_supported_async (Ville)
>
> Arun R Murthy (3):
> drm/plane: Add new plane property IN_FORMATS_ASYNC
> drm/plane: Expose function to create format/modifier blob
> drm/i915/display: Populate list of async supported formats/modifiers
Somewhat orthogonal, but in a different atomic kms discussion the much
bigger question of what are compositors supposed to figure out with
TEST_ONLY and what are they supposed to figure out through special
properties cropped up. Might be really good to document that, so that we
can have some design consistency here.
I think this patch series should also document why we need this and
compositors can't figure this out on their own, ideally by linking/quoting
the relevant discussions in the compositor enabling PR.
Thanks, Sima
>
> drivers/gpu/drm/drm_mode_config.c | 7 +++
> drivers/gpu/drm/drm_plane.c | 50 ++++++++++++------
> .../drm/i915/display/skl_universal_plane.c | 51 +++++++++++++++++++
> include/drm/drm_mode_config.h | 6 +++
> include/drm/drm_plane.h | 4 ++
> 5 files changed, 103 insertions(+), 15 deletions(-)
>
> --
> 2.25.1
>
> ---
> Arun R Murthy (5):
> drm/plane: Add new plane property IN_FORMATS_ASYNC
> drm/plane: Expose function to create format/modifier blob
> drm/plane: Function to check async supported modifier/format
> drm/i915/display: Populate list of async supported formats/modifiers
> drm/i915/display: Add function for format_mod_supported_async
>
> drivers/gpu/drm/drm_mode_config.c | 7 ++
> drivers/gpu/drm/drm_plane.c | 72 +++++++++----
> drivers/gpu/drm/i915/display/skl_universal_plane.c | 113 ++++++++++++++++++---
> include/drm/drm_mode_config.h | 6 ++
> include/drm/drm_plane.h | 24 +++++
> 5 files changed, 188 insertions(+), 34 deletions(-)
> ---
> base-commit: 08bd590935a5258ffd79355c59adffd72fb2c642
> change-id: 20250102-asyn-bf76730501cc
>
> Best regards,
> --
> Arun R Murthy <arun.r.murthy@intel.com>
>
> ---
> Changes in v6:
> - EDITME: describe what is new in this series revision.
> - EDITME: use bulletpoints and terse descriptions.
> - Link to v5: https://lore.kernel.org/r/20250218-asyn-v5-0-7ac5ac4abd4a@intel.com
>
> ---
> Arun R Murthy (3):
> drm/plane: Add new plane property IN_FORMATS_ASYNC
> drm/plane: modify create_in_formats to accommodate async
> drm/i915/display: Add i915 hook for format_mod_supported_async
>
> drivers/gpu/drm/drm_mode_config.c | 7 +++
> drivers/gpu/drm/drm_plane.c | 53 +++++++++++++++-----
> drivers/gpu/drm/i915/display/skl_universal_plane.c | 56 ++++++++++++++++------
> include/drm/drm_mode_config.h | 6 +++
> include/drm/drm_plane.h | 17 +++++++
> 5 files changed, 112 insertions(+), 27 deletions(-)
> ---
> base-commit: bc7a84cbc968ce97e581e9e3c2d26fb0ac106482
> change-id: 20250102-asyn-bf76730501cc
>
> Best regards,
> --
> Arun R Murthy <arun.r.murthy@intel.com>
>
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2025-02-19 13:53 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 9:17 [PATCH v6 0/3] Expose modifiers/formats supported by async flips Arun R Murthy
2025-02-19 9:17 ` [PATCH v6 1/3] drm/plane: Add new plane property IN_FORMATS_ASYNC Arun R Murthy
2025-02-19 18:54 ` Ville Syrjälä
2025-02-19 9:17 ` [PATCH v6 2/3] drm/plane: modify create_in_formats to accommodate async Arun R Murthy
2025-02-19 18:53 ` Ville Syrjälä
2025-03-12 5:48 ` Borah, Chaitanya Kumar
2025-03-12 5:51 ` Borah, Chaitanya Kumar
2025-02-19 9:17 ` [PATCH v6 3/3] drm/i915/display: Add i915 hook for format_mod_supported_async Arun R Murthy
2025-02-19 19:08 ` Ville Syrjälä
2025-02-19 9:39 ` ✓ CI.Patch_applied: success for Expose modifiers/formats supported by async flips (rev7) Patchwork
2025-02-19 9:40 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-19 9:41 ` ✓ CI.KUnit: success " Patchwork
2025-02-19 9:57 ` ✓ CI.Build: " Patchwork
2025-02-19 10:00 ` ✓ CI.Hooks: " Patchwork
2025-02-19 10:01 ` ✗ Fi.CI.CHECKPATCH: warning for Expose modifiers/formats supported by async flips (rev6) Patchwork
2025-02-19 10:01 ` ✗ Fi.CI.SPARSE: " Patchwork
2025-02-19 10:01 ` ✗ CI.checksparse: warning for Expose modifiers/formats supported by async flips (rev7) Patchwork
2025-02-19 10:15 ` ✗ i915.CI.BAT: failure for Expose modifiers/formats supported by async flips (rev6) Patchwork
2025-02-19 13:53 ` Simona Vetter [this message]
2025-02-19 22:33 ` [PATCH v6 0/3] Expose modifiers/formats supported by async flips Ville Syrjälä
2025-02-20 6:20 ` ✓ CI.Patch_applied: success for Expose modifiers/formats supported by async flips (rev8) Patchwork
2025-02-20 6:20 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-20 6:21 ` ✓ CI.KUnit: success " Patchwork
2025-02-20 6:38 ` ✓ CI.Build: " Patchwork
2025-02-20 6:40 ` ✓ CI.Hooks: " Patchwork
2025-02-20 6:50 ` ✗ CI.checksparse: warning " Patchwork
2025-02-20 7:15 ` ✗ Xe.CI.Full: failure for Expose modifiers/formats supported by async flips (rev7) Patchwork
2025-02-20 7:15 ` ✓ Xe.CI.BAT: success for Expose modifiers/formats supported by async flips (rev8) Patchwork
2025-02-21 0:55 ` ✗ Xe.CI.Full: failure " Patchwork
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=Z7XiSGwsPntwP7bd@phenom.ffwll.local \
--to=simona.vetter@ffwll.ch \
--cc=arun.r.murthy@intel.com \
--cc=chaitanya.kumar.borah@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=naveen1.kumar@intel.com \
--cc=sebastian.brzezinka@intel.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.