drm/i915: Parse LFP brightness control field in VBT
authorDeepak M <m.deepak@intel.com>
Tue, 26 Apr 2016 13:14:24 +0000 (16:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 2 May 2016 13:17:38 +0000 (16:17 +0300)
commit9a41e17de38e8528816598e728f784da68df17f7
treecef3be2f733841693b5f559c259fc9e6db6668bc
parentea9d9768a497e23713366a0e2ca290332bc1ed81
drm/i915: Parse LFP brightness control field in VBT

These fields in VBT indicates the PWM source which
is used and also the controller number.

v2 by Jani: check for out of bounds access, some renames, change default
type, etc.

v3 by Jani: s/INTEL_BACKLIGHT_CABC/INTEL_BACKLIGHT_DSI_DCS/

Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/eee2f7b683a081f006a7df1ddad9b20fbf53c48c.1461676337.git.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
drivers/gpu/drm/i915/intel_vbt_defs.h