summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVidya Srinivas <vidya.srinivas@intel.com>2016-12-08 11:26:18 +0200
committerJani Nikula <jani.nikula@intel.com>2016-12-12 17:22:08 +0200
commitadd033793c9efa7b0a8ecd2fa192fe85aa8b0854 (patch)
tree6ed181b355574bd8c75a8b52b070de3a1a998252 /drivers/gpu/drm/i915/i915_drv.h
parent7155b057c61e55eed27bf478ac9b8034c4c97582 (diff)
downloadblackbird-op-linux-add033793c9efa7b0a8ecd2fa192fe85aa8b0854.tar.gz
blackbird-op-linux-add033793c9efa7b0a8ecd2fa192fe85aa8b0854.zip
drm/i915: Parse panel backlight controller from VBT
Currently the backlight controller is taken as 0. It needs to derive value from the VBT. Adding the necessary changes. v2 by Jani: - drop obsolete comments, drop redundant initialization (Bob) - merge debug logging into one Signed-off-by: Uma Shankar <uma.shankar@intel.com> Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com> Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com> Tested-by: Bob Paauwe <bob.j.paauwe@intel.com> Tested-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1481189178-426-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
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 40c55c9c9eb4..20bc04d5e617 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1716,6 +1716,7 @@ struct intel_vbt_data {
bool present;
bool active_low_pwm;
u8 min_brightness; /* min_brightness/255 of max */
+ u8 controller; /* brightness controller number */
enum intel_backlight_type type;
} backlight;
OpenPOWER on IntegriCloud