Re: [PATCH 2/2] drm/i915: Tear down properly on early i915_init exit

2021-07-19 Thread Daniel Vetter
On Sat, Jul 17, 2021 at 12:48 AM Jason Ekstrand wrote: > In i915_exit(), we check i915_pci_driver.driver.owner to detect if > i915_init exited early and don't tear anything down. However, we didn't > have proper tear-down paths for early exits in i915_init(). > > Most of the time, you would never

[PATCH 2/2] drm/i915: Tear down properly on early i915_init exit

2021-07-16 Thread Jason Ekstrand
In i915_exit(), we check i915_pci_driver.driver.owner to detect if i915_init exited early and don't tear anything down. However, we didn't have proper tear-down paths for early exits in i915_init(). Most of the time, you would never notice this as driver init failures are extremely rare and gener