From 514d4a643bbf1242806009c5fd2ef74aea62630b Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 17 Jan 2024 06:28:15 +0000 Subject: [PATCH] unstub i915_driver_hw_remove() --- sys/dev/pci/drm/i915/i915_driver.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 } /** -- 2.20.1