]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tyr: use shmem GEM object type in TyrDrmDriver
authorAlvin Sun <alvin.sun@linux.dev>
Tue, 28 Apr 2026 19:19:30 +0000 (12:19 -0700)
committerAlice Ryhl <aliceryhl@google.com>
Fri, 1 May 2026 10:43:51 +0000 (10:43 +0000)
commit09a796e7069f435d488545910eb1dc7135d30d75
tree6e2dec3f260e432ea7c0e750fc20df97489ac13b
parent6f3096c427e71cdacdfd5cf02907357d5f68cd0e
drm/tyr: use shmem GEM object type in TyrDrmDriver

Tyr buffer objects are shmem-backed, so the driver should use
drm::gem::shmem::Object<BoData> as its GEM object type instead of the base
drm::gem::Object<BoData> type.

Switching to the shmem GEM object type matches how Tyr allocates and
manages its buffer objects, and uses the shmem-specific GEM abstraction
provided by the DRM Rust bindings.

Select RUST_DRM_GEM_SHMEM_HELPER to ensure the required helpers are
available when DRM_TYR is enabled.

Signed-off-by: Alvin Sun <alvin.sun@linux.dev>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260428-fw-boot-prerequisites-v1-3-c69af9abe1af@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
drivers/gpu/drm/tyr/Kconfig
drivers/gpu/drm/tyr/driver.rs