[PATCH 0/2] drm/xe: drm/xe: Improve real-time performance by limiting stolen memory usage

From: Junxiao Chang

Date: Mon Nov 02 2026 - 22:34:24 EST


Stolen memory access and allocation overhead can introduce latency spikes
and jitter, which negatively impacts real-time performance on PREEMPT_RT
kernels.

To improve real-time determinism, this series minimizes stolen memory usage
when running on an RT-enabled kernel:
1. It bypasses initial plane allocation from stolen memory to avoid hardware
access latency, falling back to standard allocations.
2. It warns the user if the GSC microcontroller is active (which relies on
stolen memory) and provides instructions on how to disable it.

Junxiao Chang (2):
drm/xe/display: Skip initial plane allocation from stolen memory on RT
drm/xe/gsc: warn about GSC stolen memory usage on RT kernels

drivers/gpu/drm/xe/display/xe_initial_plane.c | 6 ++++++
drivers/gpu/drm/xe/xe_gsc.c | 5 +++++
2 files changed, 11 insertions(+)

--
2.43.0