mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: drm/xe: Improve real-time performance by limiting stolen memory usage
@ 2026-11-04  3:27 Junxiao Chang
  2026-11-04  3:27 ` [PATCH 1/2] drm/xe/display: Skip initial plane allocation from stolen memory on RT Junxiao Chang
  2026-11-04  3:27 ` [PATCH 2/2] drm/xe/gsc: warn about GSC stolen memory usage on RT kernels Junxiao Chang
  0 siblings, 2 replies; 5+ messages in thread
From: Junxiao Chang @ 2026-11-04  3:27 UTC (permalink / raw)
  To: jani.nikula, rodrigo.vivi, matthew.brost, thomas.hellstrom,
	airlied, simona, bigeasy, clrkwllms, rostedt, intel-gfx,
	intel-xe, dri-devel, linux-kernel, linux-rt-devel
  Cc: dev, junxiao.chang

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-03 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04  3:27 [PATCH 0/2] drm/xe: drm/xe: Improve real-time performance by limiting stolen memory usage Junxiao Chang
2026-11-04  3:27 ` [PATCH 1/2] drm/xe/display: Skip initial plane allocation from stolen memory on RT Junxiao Chang
2026-11-03 10:45   ` Maarten Lankhorst
2026-11-04  3:27 ` [PATCH 2/2] drm/xe/gsc: warn about GSC stolen memory usage on RT kernels Junxiao Chang
2026-11-03 11:22   ` Maarten Lankhorst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®