From: jsg Date: Wed, 17 Jan 2024 06:28:15 +0000 (+0000) Subject: unstub i915_driver_hw_remove() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=514d4a643bbf1242806009c5fd2ef74aea62630b;p=openbsd unstub i915_driver_hw_remove() --- diff --git a/sys/dev/pci/drm/i915/i915_driver.c b/sys/dev/pci/drm/i915/i915_driver.c index dd41f6cfe4d..059fdca5d58 100644 --- 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 } /**