|
|
Subscribe / Log in / New account

Add atomic commit HW done event & deadline property

From:  Michel Dänzer <michel-AT-daenzer.net>
To:  Harry Wentland <harry.wentland-AT-amd.com>, Leo Li <sunpeng.li-AT-amd.com>, Alex Hung <alex.hung-AT-amd.com>, Shankar-AT-kaveri.local, Uma <uma.shankar-AT-intel.com>, Xaver Hugl <xaver.hugl-AT-kde.org>, victoria-AT-system76.com, David Turner <david.turner-AT-raspberrypi.com>
Subject:  [PATCH 0/4] Add atomic commit HW done event & deadline property
Date:  Thu, 24 Jul 2025 18:40:27 +0200
Message-ID:  <20250724165220.1189129-1-michel@daenzer.net>
Cc:  amd-gfx-AT-lists.freedesktop.org, dri-devel-AT-lists.freedesktop.org
Archive-link:  Article

This work came out of a discussion at the Display Next hackfest in Toronto, see
https://hwentland.github.io/work/2025hackfest-notes.html#... .

In contrast to David's suggestion in the last paragraph there, I went for a
separate property for the deadline, mainly for these reasons:

1. Communicating the deadline via events would require sending one event
   per CRTC, which I'd rather avoid due to the experience with page flip
   events.
2. I'm assuming the property value doesn't need to change between modesets.
   If this turns out to be wrong for some hardware, may need to reconsider.

libdrm MR: https://gitlab.freedesktop.org/mesa/libdrm/-/merge_reques...
mutter MR: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4540


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds