summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/i915/i915_pci.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/i915_pci.c b/sys/dev/pci/drm/i915/i915_pci.c
index 38a66df95eb..97b3504abb1 100644
--- a/sys/dev/pci/drm/i915/i915_pci.c
+++ b/sys/dev/pci/drm/i915/i915_pci.c
@@ -588,7 +588,15 @@ static const struct intel_device_info chv_info = {
.has_runtime_pm = 1,
.has_rc6 = 1,
.has_rps = true,
+#ifdef __linux__
.has_logical_ring_contexts = 1,
+#else
+ /*
+ * avoid 'Resetting rcs0 for stopped heartbeat on rcs0' GPU hang
+ * when starting X
+ */
+ .has_logical_ring_contexts = 0,
+#endif
.display.has_gmch = 1,
.ppgtt_type = INTEL_PPGTT_ALIASING,
.ppgtt_size = 32,