diff options
| author | 2021-07-21 10:23:54 -0500 | |
|---|---|---|
| committer | 2021-07-22 12:05:05 +0200 | |
| commit | db484889d1ff0645e07e360d3e3ad306c0515821 (patch) | |
| tree | f61c31b2b497ca21e38a9cbe89a4623d53ff8401 /scripts | |
| parent | drm/i915: Call i915_globals_exit() after i915_pmu_exit() (diff) | |
drm/i915: Call i915_globals_exit() if pci_register_device() fails
In the unlikely event that pci_register_device() fails, we were tearing
down our PMU setup but not globals. This leaves a bunch of memory slabs
lying around.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Fixes: 32eb6bcfdda9 ("drm/i915: Make request allocation caches global")
[danvet: Fix conflicts against removal of the globals_flush
infrastructure.]
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721152358.2893314-3-jason@jlekstrand.net
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
