Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: restric multi-lrc to VCS/VECS engines
@ 2026-02-18  5:50 Xin Wang
  2026-02-18  5:57 ` ✓ CI.KUnit: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Xin Wang @ 2026-02-18  5:50 UTC (permalink / raw)
  To: intel-xe; +Cc: Xin Wang

Remove multi-lrc support on non‑media engines for ModSched
platforms, since GuC firmware no longer supports this and
there’s no valid use case.

Signed-off-by: Xin Wang <x.wang@intel.com>
---
 drivers/gpu/drm/xe/xe_exec_queue.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index 66d0e10ee2c4..9f5e9d78c8c6 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -1200,6 +1200,15 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
 			return -ENOENT;
 		}
 
+		/* multi-lrc is only supported on VIDEO_DECODE and VIDEO_ENHANCE engines */
+		if (XE_IOCTL_DBG(xe, args->width > 1 && GRAPHICS_VER(xe) > 20 &&
+				 !(eci[0].engine_class == DRM_XE_ENGINE_CLASS_VIDEO_DECODE ||
+				   eci[0].engine_class == DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE))) {
+			up_read(&vm->lock);
+			xe_vm_put(vm);
+			return -EOPNOTSUPP;
+		}
+
 		/* SRIOV sched groups are not compatible with multi-lrc */
 		if (XE_IOCTL_DBG(xe, args->width > 1 && has_sched_groups(hwe->gt))) {
 			up_read(&vm->lock);
-- 
2.43.0


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

end of thread, other threads:[~2026-02-18 22:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18  5:50 [PATCH] drm/xe: restric multi-lrc to VCS/VECS engines Xin Wang
2026-02-18  5:57 ` ✓ CI.KUnit: success for " Patchwork
2026-02-18  6:26 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-18  6:44 ` ✓ Xe.CI.FULL: " Patchwork
2026-02-18 13:57 ` ✓ CI.KUnit: success for drm/xe: restric multi-lrc to VCS/VECS engines (rev2) Patchwork
2026-02-18 14:34 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-18 16:07 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-18 22:39 ` [PATCH] drm/xe: restric multi-lrc to VCS/VECS engines Lin, Shuicheng
2026-02-18 22:54 ` Matt Roper

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