diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2009-04-01 19:52:29 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-17 13:31:07 -0700 |
commit | 3b1c1c1118880921da1188b7245e0470742802f8 (patch) | |
tree | 5802350a461aa87519f7a5ce8e1db431be8ec52f /drivers/gpu/drm/i915/i915_dma.c | |
parent | d770e3cfe5a274a343d896b2cc1646af85646fbc (diff) | |
download | op-kernel-dev-3b1c1c1118880921da1188b7245e0470742802f8.zip op-kernel-dev-3b1c1c1118880921da1188b7245e0470742802f8.tar.gz |
drm/i915: Unregister ACPI video driver when exiting
The i915 DRM triggers registration of the ACPI video driver on load. It
should unregister it at unload in order to avoid generating backtraces on
being reloaded.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index a000cf0..27261438 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1232,7 +1232,7 @@ int i915_driver_unload(struct drm_device *dev) if (dev_priv->regs != NULL) iounmap(dev_priv->regs); - intel_opregion_free(dev); + intel_opregion_free(dev, 0); if (drm_core_check_feature(dev, DRIVER_MODESET)) { intel_modeset_cleanup(dev); |