Going Through Intel's Graphics Execution Manager

Written by Michael Larabel in Intel on 10 January 2013 at 01:02 AM EST. 1 Comment
INTEL
For developers looking to get into Linux graphics driver programming or just wanting to know how Intel's Graphics Execution Manager (GEM) works within the Linux kernel, here's a guide.

The Graphics Execution Manager is Intel's form of memory management within the Linux kernel for use by their i915 DRM graphics driver. GEM is an alternative to using TTM, as done internally by the Radeon and Nouveau drivers.

For the past few months, Daniel Vetter of Intel's Open-Source Technology Center has been writing a guide about GEM. Daniel's "i915/GEM Crashcoure" is split into four parts and in the first part covers different address spaces of i915 GEM buffer objects as well as page table setup. Part 2 goes through submitting work to the graphics processor and tracking the GPU progress and command submission along with relocation handling, command retiring, and synchronization. Part 3 covers the memory management in more detail and GTT space and what happens under video memory pressure. The final part goes through coherency and caches and efficienctly transferring data between GPU coherency domains and the CPU coherency domain.

Those wanting to read through Vetter's technical ramblings about i915/GEM, the writings are on his personal blog.
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