Intel Adds Soft-Pinning Support To DRM Library
Written by Michael Larabel in Intel on 20 December 2015 at 07:59 AM EST. 1 Comment
Intel recently added soft-pin support to their code within the DRM library (libdrm).

In terms of what Softpin is about, the work by Intel's MichaƂ Winiarski explains, "Softpin allows userspace to take greater control of GPU virtual address space and eliminates the need of relocations. It can also be used to mirror addresses between GPU and CPU (shared virtual memory). Calls to drm_intel_bo_emit_reloc are still required to build the list of drm_i915_gem_exec_objects at exec time, but no entries in relocs are created. Self-relocs don't make any sense for softpinned objects and can indicate a programming errors, thus are forbidden."

Intel soft-pinning support landed with this commit and will be found in the next libdrm release. Soft-pinning support across the Intel driver stack has been in the works for several months.
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