summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-07-23 11:00:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-07-23 11:00:14 +0000
commit48b24f7809a9b24e91da019a729068dac04e2299 (patch)
treeb3d89369da4a94a5b5855b79809b5af62c47a9f0 /sys/dev
parente540fa39ba7bcafec8c239428aad482126e7c043 (diff)
drm/i915/gt: Ignore irq enabling on the virtual engines
From Chris Wilson efce4c5bf8873329a578b70c4b5b0df0fee73e2d in linux 5.7.y/5.7.10 858f1299fd6f7518ddef19ddd304c8398ac79fa5 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/gt/intel_lrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/gt/intel_lrc.c b/sys/dev/pci/drm/i915/gt/intel_lrc.c
index b6071c7f689..e65c7e7a973 100644
--- a/sys/dev/pci/drm/i915/gt/intel_lrc.c
+++ b/sys/dev/pci/drm/i915/gt/intel_lrc.c
@@ -5215,6 +5215,7 @@ intel_execlists_create_virtual(struct intel_engine_cs **siblings,
intel_engine_init_active(&ve->base, ENGINE_VIRTUAL);
intel_engine_init_breadcrumbs(&ve->base);
intel_engine_init_execlists(&ve->base);
+ ve->base.breadcrumbs.irq_armed = true; /* fake HW, used for irq_work */
ve->base.cops = &virtual_context_ops;
ve->base.request_alloc = execlists_request_alloc;