Anatomy of an Atomic KMS Driver

OLYMPUS DIGITAL CAMERA

IMAG0048The DRM and KMS APIs have won in the Linux graphics ecosystem. Long gone are the days when KMS meant only a handful of desktop graphics drivers. As a side effect, new problems have been uncovered, and API extensions are being designed to address advanced use cases. Atomic updates is the latest significant of such extensions.

While the userspace API extension is simple, a lot of work went under the hood and the in-kernel KMS helpers went through major changes that are not trivial to implement in drivers. This talk will present KMS atomic updates and explain how to update KMS drivers to take advantage of the new API, using the Renesas rcar-du-drm driver as an example.

Laurent Pinchart, Ideas on Board

[slideshare id=53567084&doc=kr2015-laurentpinchart-151005202141-lva1-app6892]

[youtube=https://youtu.be/lihqR9sENpc]