On Tue, Jun 01, 2021 at 07:43:27PM +0200, Matthias Pressfreund wrote:
> Ok, here you go ...
> 
> In approx. 4 out of 10 times the boot process does not conclude.

Thanks.  I believe the "use drm_mm from linux 5.7.y" changes are
implicated in this though there is nothing cherryview/braswell
specific in that.

I think we should disable ppgtt on cherryview/braswell until the cause
is known.  Does this help?

Index: sys/dev/pci/drm/i915/i915_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_pci.c,v
retrieving revision 1.4
diff -u -p -r1.4 i915_pci.c
--- sys/dev/pci/drm/i915/i915_pci.c     1 Jul 2020 02:08:14 -0000       1.4
+++ sys/dev/pci/drm/i915/i915_pci.c     3 Jun 2021 13:24:20 -0000
@@ -598,7 +598,15 @@ static const struct intel_device_info ch
        .has_logical_ring_contexts = 0,
 #endif
        .display.has_gmch = 1,
+#ifdef __linux__
        .ppgtt_type = INTEL_PPGTT_ALIASING,
+#else
+       /*
+        * Enabling aliasing ppgtt results in struct gen6_ppgtt
+        * being overwritten.
+        */
+       .ppgtt_type = INTEL_PPGTT_NONE,
+#endif
        .ppgtt_size = 32,
        .has_reset_engine = 1,
        .has_snoop = true,

Reply via email to