diff options
| author | Deborah Brouwer <deborah.brouwer@collabora.com> | 2026-07-28 11:39:27 -0700 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-07-31 12:36:27 +0000 |
| commit | e38e457b590bcb4bb09567a2c0b70eaf9568f778 (patch) | |
| tree | fc80648968f3474c2fd25543b18aa37cd196085f /rust/kernel/alloc | |
| parent | f2dc32d5a133ed6e7b7295247e9477ec57eb93cd (diff) | |
drm/tyr: add a kernel buffer object
Introduce a buffer object type (KernelBo) for internal driver allocations
that are managed by the kernel rather than userspace.
KernelBo wraps a GEM shmem object and automatically handles GPU virtual
address space mapping during creation and unmapping on drop. This provides
a safe and convenient way for the driver to both allocate and clean up
internal buffers for kernel-managed resources.
Co-developed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260728-fw-boot-b4-v10-5-9187aefa3f2f@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
