artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f005ef3
)
unstub i915_driver_hw_remove()
author
jsg
<jsg@openbsd.org>
Wed, 17 Jan 2024 06:28:15 +0000
(06:28 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 17 Jan 2024 06:28:15 +0000
(06:28 +0000)
sys/dev/pci/drm/i915/i915_driver.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_driver.c
b/sys/dev/pci/drm/i915/i915_driver.c
index
dd41f6c
..
059fdca
100644
(file)
--- a/
sys/dev/pci/drm/i915/i915_driver.c
+++ b/
sys/dev/pci/drm/i915/i915_driver.c
@@
-580,9
+580,7
@@
err_perf:
*/
static void i915_driver_hw_remove(struct drm_i915_private *dev_priv)
{
- STUB();
-#ifdef notyet
- struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
+ struct pci_dev *pdev = dev_priv->drm.pdev;
i915_perf_fini(dev_priv);
@@
-590,7
+588,6
@@
static void i915_driver_hw_remove(struct drm_i915_private *dev_priv)
if (pdev->msi_enabled)
pci_disable_msi(pdev);
-#endif
}
/**