From bbb72750ba5363681ac04e454eebb8a51a269462 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 1 Feb 2022 23:29:07 +0000 Subject: [PATCH] call intel_init_stolen_res() lost in drm 5.7 update --- sys/dev/pci/drm/i915/i915_drv.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.20.1