drm/i915: check VBT for supported backlight type
authorJani Nikula <jani.nikula@intel.com>
Wed, 9 Apr 2014 08:22:06 +0000 (11:22 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 11 Apr 2014 10:22:27 +0000 (13:22 +0300)
commit39fbc9c8f6765959b55e0b127dd5c57df5a47d67
tree6369df006d91ad85b659f26a98f05b725584cca5
parent2ab1bc9df01dbc19b55b2271100db7407fa6bfdc
drm/i915: check VBT for supported backlight type

The only supported types are none and PWM. Other values are obsolete or
reserved, don't add them.

Tested-by: Kamal Mostafa <kamal@canonical.com>
Tested-by: Martin <bugs@mrvanes.com>
Tested-by: jrg.otte@gmail.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h