On Thu Jul 30, 2026 at 7:05 PM CEST, Alvin Sun wrote: > Add DrmSeqShow trait and its SeqShow blanket impl for Device<T, Normal>, > enabling Rust DRM drivers to expose device state via debugfs seq_file > entries. Device registration data is kept alive for the duration of > each seq_file read. > > Signed-off-by: Alvin Sun <[email protected]>
This patch shouldn't be needed with the ScopeRef approach. The full proxy already guarantees show() can't run after debugfs_remove_recursive(). So, the driver can just implement plain debugfs::SeqShow<RegistrationData<'_>>.
