On Wed, Jul 01, 2020 at 01:53:14AM +1000, Jonathan Gray wrote:
> cherryview/braswell still had trouble even after recent port of drm from
> linux 5.7.
> 
> I can run X on -current with < gen8 style rings.
> 
> Index: dev/pci/drm/i915/i915_pci.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_pci.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 i915_pci.c
> --- dev/pci/drm/i915/i915_pci.c       8 Jun 2020 04:48:11 -0000       1.3
> +++ dev/pci/drm/i915/i915_pci.c       30 Jun 2020 15:37:20 -0000
> @@ -588,7 +588,7 @@ static const struct intel_device_info ch
>       .has_runtime_pm = 1,
>       .has_rc6 = 1,
>       .has_rps = true,
> -     .has_logical_ring_contexts = 1,
> +     .has_logical_ring_contexts = 0,
>       .display.has_gmch = 1,
>       .ppgtt_type = INTEL_PPGTT_ALIASING,
>       .ppgtt_size = 32,
> 

With this patch (and driver "intel" in /etc/X11/xorg.conf) my system works. 
Tested suspend/resume and normal browsing.

Reply via email to