drm/i915: Use existing DSI backlight ports info
authorMadhav Chauhan <madhav.chauhan@intel.com>
Fri, 13 Oct 2017 12:45:00 +0000 (18:15 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 20 Oct 2017 08:28:49 +0000 (11:28 +0300)
commit6a2f0641d3c268ee8703b9d14fa49c3f900ca30c
tree858296c791b101a9504b6ce60c5b255252a084e8
parent46e5832014480ba70daf41a80489c0d11d431e08
drm/i915: Use existing DSI backlight ports info

This patch re-use already parsed DSI backlight/cabc ports
info for saving it inside struct intel_dsi rather than
parsing it at the time of DSI initialization.

V2: Remove backlight and cabc variable initialization (Jani N).

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1507898700-20016-2-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_dsi.c