The Journey of Adding Hardware Support To Mainline
summary
Adds a Linux mainline driver for Rockchip RGA3 (RK3588), using vendor TRM, vendor kernel blobs and libRGA for reference, and landing after seven months and many patch revisions into v7.2. Debugging finds include endian color swap causing alpha zeroing, a scale‑factor overflow bug, variable frame rates fixed by removing clock dividers and tuning SV outstanding max to get 140 fps, and an IOMMU bit that must be set for stability. Implements multi‑core multiplexing and initial M2M framework changes; basic scaling and CSC work, rotation and extra formats remain.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 3:13Starting the hardware driver
- 8:57First bugs and fixes
- 12:08Performance issues and solutions
- 14:36Stress testing and stability
- 16:24Minimum size and image shifts
- 20:41Upstream feedback and patch order
- 25:45Device tree binding checks
- 27:32Upstream timeline and review
- 28:57Multi-core support and future work
- 31:28Summary and acknowledgments
- 33:18Q&A
