Journey of a Massive Internal Kernel Rework
summary
Reworks the lifetime of struct drm_bridge so bridges can be hot‑plugged, adding a refcount and a new allocator devm_drm_bridge_alloc, and changing semantics of about a dozen internal APIs; this forces adaptations in ~50 drivers (conversion split across many series, some automated with Coccinelle), KUnit and debugfs additions for testing, and the core getters now call drm_bridge_get; merged pieces land in kernel 6.16, the effort spans two years and products ship with mainline plus temporary local patches.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:56Initial approach and shortcomings
- 4:58The grand plan overview
- 6:03Dynamic bridge lifetime explained
- 8:14Provider side refactoring
- 11:05Consumer side refactoring
- 15:04Simple getter conversions
- 16:08Complex getter conversions
- 17:12Panel and bridge interactions
- 19:40Conclusions and key takeaways
- 26:28Q&A session
