diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-04-09 11:22:06 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2014-04-11 13:22:27 +0300 |
commit | 39fbc9c8f6765959b55e0b127dd5c57df5a47d67 (patch) | |
tree | 6369df006d91ad85b659f26a98f05b725584cca5 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 2ab1bc9df01dbc19b55b2271100db7407fa6bfdc (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 0905cd91558..d24eba70ca9 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1308,6 +1308,7 @@ struct intel_vbt_data { struct { u16 pwm_freq_hz; + bool present; bool active_low_pwm; } backlight; |