Skip to content

drm/xe: drm/xe: Improve real-time performance by limiting stolen memory usage

Junxiao Chang dri-devel intel-gfx intel-xe linux-rt-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/display: Skip initial plane allocation from stolen memory on RTdrivers/gpu/drm/xe/display/xe_initial_plane.c+6 -02 replies
2/2drm/xe/gsc: warn about GSC stolen memory usage on RT kernelsdrivers/gpu/drm/xe/xe_gsc.c+5 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(+)
Signature · 1 line
2.43.0