From: jsg Date: Tue, 1 Feb 2022 23:29:07 +0000 (+0000) Subject: call intel_init_stolen_res() lost in drm 5.7 update X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bbb72750ba5363681ac04e454eebb8a51a269462;p=openbsd call intel_init_stolen_res() lost in drm 5.7 update --- diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index 096cb731ef9..735908e4149 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -2350,6 +2350,7 @@ inteldrm_match(struct device *parent, void *match, void *aux) } int drm_gem_init(struct drm_device *); +void intel_init_stolen_res(struct inteldrm_softc *); void inteldrm_attach(struct device *parent, struct device *self, void *aux) @@ -2469,6 +2470,7 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux) return; } dev->pdev->irq = -1; + intel_init_stolen_res(dev_priv); config_mountroot(self, inteldrm_attachhook); }