MP3JOSS

Botching up IOCTLs

Botching up IOCTLs

Choose Download Format

Download MP3 Download MP4

Details

TitleBotching up IOCTLs
AuthorLinux.conf.au 2015 -- Auckland, New Zealand
Duration46:49
File FormatMP3 / MP4
Original URL https://youtube.com/watch?v=WnqXHs_tGR4

Description

Daniel Vetter
http://lca2015.linux.org.au/schedule/30266/view_talk
One clear insight kernel graphics hackers gained in the past few years is that trying to come up with a unified interface to manage the execution units and memory on completely different GPUs is a futile effort. So nowadays every driver has its own set of ioctls to allocate memory and submit work to the GPU. Which is nice, since there's no more insanity in the form of fake-generic, but actually only used-once interfaces. But the clear downside is that there's much more potential to screw things up.

To avoid repeating all the same mistakes again this talk will present some of the lessons learned while botching the job for the drm subsystem in general and the i915 driver specifically. Topics covered will be the bare basic to avoid needless busywork later on, reasonable minimal testing to avoid CVEs and other embarrassement. And generally a thicket of war stories to figure out what works and where's still some white spots in the userspace interface landscape.

🎧 Just For You

🎵 Wasted Love - Austria (Eurovision) 🎵 What I Want - Morgan Wallen Feat. Tate… 🎵 Dior - Mk & Chrystal 🎵 4X4 - Travis Scott 🎵 Uptown Funk - Mark Ronson Feat. Bruno Mars 🎵 Thinking Out Loud - Ed Sheeran 🎵 We Found Love - Rihanna Feat. Calvin… 🎵 Forget You - Ceelo Green 🎵 Can I Gaal Yu - Sickboyrari 🎵 Anxiety - Doechii 🎵 4X4 - Travis Scott 🎵 Poker Face - Lady Gaga