• Jonathan Gray [2019-10-04 14:45]:
> On Thu, Oct 03, 2019 at 03:15:53PM +0200, [email protected] wrote:
> > >Synopsis: startup suspends until display is connected
> > >Category: kernel
> > >Environment:
> > System : OpenBSD 6.6
> > Details : OpenBSD 6.6 (GENERIC.MP) #345: Wed Oct 2 22:45:02 MDT
> > 2019
> >
> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >
> > Architecture: OpenBSD.amd64
> > Machine : amd64
> > >Description:
> >
> > System startup suspends until display is connected via HDMI or DP.
> >
> > See also my report to misc@ earlier:
> > https://marc.info/?l=openbsd-misc&m=156918702722030&w=2
> >
> > Seems related to https://marc.info/?l=openbsd-bugs&m=156796294809134&w=2
> >
> > >How-To-Repeat:
> >
> > Reboot without screen attached.
> >
> > >Fix:
>
> I was able to reproduce this on valleyview/baytrail. This fixes it here:
works for me too. thank you!
> Index: intel_runtime_pm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/i915/intel_runtime_pm.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 intel_runtime_pm.c
> --- intel_runtime_pm.c 14 Apr 2019 10:14:52 -0000 1.3
> +++ intel_runtime_pm.c 4 Oct 2019 04:36:27 -0000
> @@ -1040,8 +1040,8 @@ static void vlv_display_power_well_deini
> #ifdef notyet
> /* Prevent us from re-enabling polling on accident in late suspend */
> if (!dev_priv->drm.dev->power.is_suspended)
> - intel_hpd_poll_init(dev_priv);
> #endif
> + intel_hpd_poll_init(dev_priv);
> }
>
> static void vlv_display_power_well_enable(struct drm_i915_private *dev_priv,
>
--
-- Kirill Miazine <[email protected]>