Intel Userptr Support Added To Mesa's DRM Library
Written by Michael Larabel in Intel on 17 September 2014 at 09:11 AM EDT. Add A Comment
With the Linux 3.16 kernel is Intel graphics driver support for Userptr, allows user-space to wrap up malloc'ed memory and turn them into GEM buffer objects. Besides the Intel DDX support, there's now userptr support within Mesa's DRM library.

The Userptr feature of being able to turn a memory pointer from user-space into a buffer object for the DRM graphics drivers is useful for GPGPU/compute and other scenarios. With Linux 3.17, the Radeon driver also has Userptr support for feeding these memory objects from user-space to kernel-space.

Today hitting Mesa/DRM Git is the Intel support for Userptr objects within the DRM library. The nearly 200 lines of new code allows userptr objects to be created and used via libdrm_intel.
Related News
About The Author
Author picture

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week