artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b54194e
)
call intel_init_stolen_res() lost in drm 5.7 update
author
jsg
<jsg@openbsd.org>
Tue, 1 Feb 2022 23:29:07 +0000
(23:29 +0000)
committer
jsg
<jsg@openbsd.org>
Tue, 1 Feb 2022 23:29:07 +0000
(23:29 +0000)
sys/dev/pci/drm/i915/i915_drv.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_drv.c
b/sys/dev/pci/drm/i915/i915_drv.c
index
096cb73
..
735908e
100644
(file)
--- 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);
}