From: Gabriel Gama <operatingsystemsdepression@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: patrik.r.jakobsson@gmail.com
Subject: [RFC PATCH v2 0/6] drm/gma500: prepare GEM and MMU for 3D rendering and hybrid 2D
Date: Mon, 9 Nov 2026 03:32:57 -0300 [thread overview]
Message-ID: <20261109063303.32658-1-operatingsystemsdepression@gmail.com> (raw)
Hi,
This v2 targets Linux 7.4-rc2 at
7475ea8b58616b33c04afb976cf0fbaad9dd63fb. The six patches improve existing
gma500 GEM and SGX MMU handling as prerequisites for future 3D rendering
and hybrid CPU/GPU 2D. They do not enable either rendering path or add a
userspace ABI. Display GTT and SGX page tables remain separate mappings.
Since v1, I verified the introducing commits for patches 3 and 5 and added
Fixes tags. Patch 6 now handles initialization failure correctly: KUnit
still invokes the per-case exit callback, so partial resources are released
once through a NULL-safe cleanup rather than freed again through stale
pointers. The successful fixture path is unchanged.
Cross-builds and native/UBSan checks ran in Debian AArch64 Linux userspace
under PRoot. The i386 LLVM 19 W=1/HIGHMEM4G kernel linked successfully, and
all nine MMU KUnit cases passed in a QEMU TCG guest. Eleven host allocation
budgets checked fixture init failure and repeated cleanup. Physical Mini12
testing remains pending; no hardware rendering result is claimed.
Changes since v1:
- Patch 3: Fixes tag for 8c8f1c958ab5.
- Patch 5: Fixes tag for ae012bdc5799.
- Patch 6: safe partial-init cleanup, checked with allocation failures.
Patch list:
1. Use the common dumb-buffer size helper.
2. Prevent GEM unpin underflow.
3. Fix SGX page-table cache-flush mapping lifetime.
4. Make MMU insertion checked and transactional.
5. Propagate MMU setup and GEM pin failures.
6. Add software-only MMU KUnit coverage.
Previous version: Message-ID
<20261109055451.17458-1-operatingsystemsdepression@gmail.com>
Thanks,
Gabriel Gama
next reply other threads:[~2026-11-09 6:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 6:32 Gabriel Gama [this message]
2026-11-09 6:32 ` [RFC PATCH v2 1/6] drm/gma500: use the common dumb-buffer size helper Gabriel Gama
2026-11-12 21:20 ` Joseph Telaak
2026-11-09 6:32 ` [RFC PATCH v2 2/6] drm/gma500: do not underflow an unpinned GEM object Gabriel Gama
2026-11-12 21:17 ` Joseph Telaak
2026-11-09 6:33 ` [RFC PATCH v2 3/6] drm/gma500: Fix SGX page-table cache-flush mapping lifetime Gabriel Gama
2026-11-12 21:20 ` Joseph Telaak
2026-11-09 6:33 ` [RFC PATCH v2 4/6] drm/gma500: Make SGX MMU insertion checked and transactional Gabriel Gama
2026-11-09 6:41 ` sashiko-bot
2026-11-12 21:20 ` Joseph Telaak
2026-11-09 6:33 ` [RFC PATCH v2 5/6] drm/gma500: Propagate SGX MMU setup and GEM pin failures Gabriel Gama
2026-11-12 21:20 ` Joseph Telaak
2026-11-13 2:17 ` Gabriel Gama
2026-11-09 6:33 ` [RFC PATCH v2 6/6] drm/gma500: Add software-only KUnit coverage for SGX page tables Gabriel Gama
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=20261109063303.32658-1-operatingsystemsdepression@gmail.com \
--to=operatingsystemsdepression@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=patrik.r.jakobsson@gmail.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.