FIFO UNDERRUN HANDLING(9)
π fifo underrun handling π
Kernel API Manual check β bestie, this is the fifo underrun handling(9) page, and itβs actually such a useful little corner of the kernel. β¨
Okay so the i915 driver checks for display fifo underruns using the interrupt signals provided by the hardware. This is enabled by default and is fairly useful to debug display issues, especially watermark settings. genuinely iconic debugging behavior π
If an underrun is detected, this is logged into dmesg. To avoid flooding logs and occupying the cpu, underrun interrupts are disabled after the first occurrence until the next modeset on a given pipe. periodt β no log spam, no cpu hogging.
Heads up, bestie: underrun detection ongmchplatforms is a bit more ugly since there is no interrupt (despite that the signalling bit is in thePIPESTATpipe interrupt register). π
Also, on some other platforms underrun interrupts are shared, which means that if we detect an underrun we need to disable underrun reporting on all pipes. itβs giving βone alarm, whole floor evacuatesβ energy.
The code also supports underrun detection on the PCH transcoder. slay. πΈ
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/i915/display/intel_fifo_underrun.c intel_set_cpu_fifo_underrun_reporting(9)intel_set_pch_fifo_underrun_reporting(9)intel_cpu_fifo_underrun_irq_handler(9)intel_pch_fifo_underrun_irq_handler(9)intel_check_cpu_fifo_underruns(9)intel_check_pch_fifo_underruns(9)
Source/version: ./drivers/gpu/drm/i915/display Β· Date: October 2026 β okay thatβs the whole fifo underrun handling(9) moment, ily, bye bestie ππ«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms