]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Parse panel backlight controller from VBT
authorVidya Srinivas <vidya.srinivas@intel.com>
Thu, 8 Dec 2016 09:26:18 +0000 (11:26 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 12 Dec 2016 15:22:08 +0000 (17:22 +0200)
commitadd033793c9efa7b0a8ecd2fa192fe85aa8b0854
tree6ed181b355574bd8c75a8b52b070de3a1a998252
parent7155b057c61e55eed27bf478ac9b8034c4c97582
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
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_panel.c