LinuxCommandLibrary

intel_gtt

Display Intel Graphics Memory Management information

SYNOPSIS

No direct command; loaded as kernel module via modprobe intel_gtt or implicitly by i915

PARAMETERS

disable
    Module parameter to disable GTT (rarely used)

gtt_size
    Force GTT size override (internal, kernel compile-time)

DESCRIPTION

The intel_gtt is not a standalone user-space Linux command but a core component of the Intel graphics driver stack in the Linux kernel. It provides the Graphics Translation Table (GTT) functionality, which is essential for mapping graphics memory in Intel integrated GPUs. The GTT acts as a linear aperture into the graphics memory address space, enabling the CPU to access GPU memory via MMIO.

Primarily used by the i915 DRM (Direct Rendering Manager) driver, intel_gtt handles GTT initialization, aperture sizing, and address mapping. It supports features like stolen memory allocation and supports various Intel hardware generations, from older Gen2 to modern ones before being phased into the unified i915 GEM (Graphics Execution Manager).

Users interact indirectly via kernel modules (modprobe i915), debugfs (/sys/kernel/debug/dri/0/i915_gtt), or tools like intel_gpu_top. It's auto-loaded on Intel GPU detection and critical for X11/Wayland rendering, OpenGL, and Vulkan.

CAVEATS

Not a user command; tampering via module params can crash graphics stack. Debugfs access requires root and i915.enable_fbc=1 or similar. Deprecated in modern kernels favoring GEM.

DEBUG ACCESS

View GTT info: cat /sys/kernel/debug/dri/0/i915_gtt (requires debugfs mounted)

SOURCE

Kernel source: drivers/gpu/drm/i915/i915_gtt.c

HISTORY

Introduced in early 2000s for Intel 8xx/9xx chipsets. Evolved with i915 driver (~2.6.28 kernel), integrated into GEM by 2010s. Phased out in kernel 5.x+ as GTT logic merged directly into i915.

SEE ALSO

modprobe(8), lsmod(8), i915(4), drm-info(1), intel_gpu_top(1)

Copied to clipboard