Index: drivers/gpu/drm/i915/i915_dma.c |
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c |
index b24e814d40955d4d44014de049f6d6c61684abd1..fe4d41c45215cddf8bb97dca22bea01f98501cb9 100644 |
--- a/drivers/gpu/drm/i915/i915_dma.c |
+++ b/drivers/gpu/drm/i915/i915_dma.c |
@@ -1504,6 +1504,9 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) |
setup_timer(&dev_priv->hangcheck_timer, i915_hangcheck_elapsed, |
(unsigned long) dev); |
+ |
+ i915_backlight_init(dev); |
+ |
return 0; |
out_workqueue_free: |
@@ -1523,6 +1526,8 @@ int i915_driver_unload(struct drm_device *dev) |
{ |
struct drm_i915_private *dev_priv = dev->dev_private; |
+ i915_backlight_exit(dev); |
+ |
destroy_workqueue(dev_priv->wq); |
del_timer_sync(&dev_priv->hangcheck_timer); |