TinyDRM: Support For Simple & Small Displays

Written by Michael Larabel in X.Org on 16 March 2016 at 11:00 AM EDT. 2 Comments
X.ORG
New Linux kernel patches were posted today for introducing a "tinydrm" module for making it simpler to write DRM drivers against simplified displays.

Noralf Trønnes who developed this work explained the patch series as "The tinydrm module provides a very simplified view of DRM for displays that has onboard video memory and is connected through a slow bus like SPI/I2C. A driver using tinydrm has to provide a function that will be called from the dirtyfb ioctl and optionally drm_panel functions which can be used to set up the display controller and control backlight. Tinydrm also has fbdev support using fb_deferred_io which is tied in through the dirtyfb function call...The various display controllers can have library modules that handles display updates."

The patch series adds the support for the tiny LCD displays and the patches end with adding support for several Adafruit TFT displays to TinyDRM. Among the Adafruit MIPI DBI-compatible SPI displays then supported via this small DRM implementation is their 1.8-inch, 2.2-inch, and 2.8-inch screens. The 2.8-inch Adafruit panel supported is the TFT+touchscreen that's very popular with many Raspberry Pi fans. The TinyDRM code still needs to be cleaned up and reviewed, but hopefully it will be all tidied up in time for the Linux 4.7 kernel.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week