mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 02:20:17 +01:00
i915: Free dev->dev_private on unload.
This commit is contained in:
parent
3e9541230d
commit
1f3c4dd938
1 changed files with 2 additions and 0 deletions
|
|
@ -1114,6 +1114,8 @@ int i915_driver_unload(struct drm_device *dev)
|
|||
|
||||
drm_free(dev->dev_private, sizeof(drm_i915_private_t),
|
||||
DRM_MEM_DRIVER);
|
||||
dev->dev_private = NULL;
|
||||
|
||||
#ifdef __linux__
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
|
||||
intel_fini_chipset_flush_compat(dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue