drm/i915: default to having backlight if VBT not available
authorJani Nikula <jani.nikula@intel.com>
Tue, 17 Jun 2014 12:47:05 +0000 (15:47 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Jun 2014 13:08:20 +0000 (16:08 +0300)
commit56c4b63aaf4c2cd91966b2a5e69e5367bea60bbe
tree0d7ba56b729249f857d80a2d8c90992a8f0bce71
parentbfafe93a1cd466ef318b7e5f6c65f59aee147791
drm/i915: default to having backlight if VBT not available

Apparently there are Apple laptops with magic smoke for a VBIOS, which
we fail to find and use. Default to having and setting up backlight in
this case.

This fixes a regression introduced by
commit c675949ec58ca50d5a3ae3c757892f1560f6e896
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Apr 9 11:31:37 2014 +0300

    drm/i915: do not setup backlight if not available according to VBT

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=77831
Reported-and-tested-by: Matteo Cypriani <mcy@lm7.fr>
Cc: stable@vger.kernel.org # 3.15+
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_bios.c