Let's talk about developing AMD display drivers in the DRM subsystem as an
external contributor. Part of this work is a trail of breadcrumbs to build
documentation. What are those breadcrumbs? How do they help to review, fix,
improve and enable features of AMD drivers? How would both sides benefit if
those pieces of information were already documented? We are gathering
information from anywhere and also bothering experts for input. Ultimately,
this presentation focuses on AMD driver development but may fit DRM drivers of
any GPU vendors.
(c) X.Org Developer Conference (XDC) 2022
October 4-6, 2022
Minneapolis, Minnesota, USA
https://indico.freedesktop.org/event/2/
1. “I’m not an AMD expert, but…”
Melissa Wen @ Igalia
XDC - Oct 2022
2. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
3. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Trend topics not covered by this talk:
● Criticize code statistics
● Complain about the shared code approach of the display driver
● Put a curse on AMD
4. I’m not an AMD expert, but…
Presenter(s), Presentation Date
Being John Malkovich, 1999 Photograph: Allstar/Propaganda Films/Sportsphoto Ltd/Allstar
5. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Play the game you already know…
● KMS tests of the IGT testing tools
and have fun fixing bugs
● DRM alpha blend mode
Follow traditional breadcrumbs
● documentation
● mailing list
● git history
● checking drivers from other vendors
● own experience
6. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
7. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
8. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
9. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
10. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
DM
DRM
11. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
DC
DM
DRM
13. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
14. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
15. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
16. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Credit: @PISCO_CAT/SPLITPICS UK
Credit: @PISCO_CAT/SPLITPICS UK
17. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Credit: @PISCO_CAT/SPLITPICS UK
18. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Credit: @PISCO_CAT/SPLITPICS UK
19. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
20. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
21. "I want it all"
I’m not an AMD expert, but…
Melissa Wen, XDC 2022
22. "I want it all"
I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Credit: DreamWorks AnimationS UK
23. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
More transparency
● Merging changes to DC (the shared/OS-agnostic part)
○ Change limitations in some part of the code
○ Workarounds to attend DRM/KMS framework
○ DC implementations with no Linux support yet
○ Public CI (?)
● Upstream to DRM new features implementation
● More documentation is always welcome
24. I’m not an AMD expert, but…
Melissa Wen, XDC 2022
Complaints? Questions?