diff options
author | Madhav Chauhan <madhav.chauhan@intel.com> | 2017-10-13 18:15:00 +0530 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-10-20 11:28:49 +0300 |
commit | 6a2f0641d3c268ee8703b9d14fa49c3f900ca30c (patch) | |
tree | 858296c791b101a9504b6ce60c5b255252a084e8 /drivers/gpu/drm/i915/intel_bios.c | |
parent | 46e5832014480ba70daf41a80489c0d11d431e08 (diff) | |
download | linux-stable-6a2f0641d3c268ee8703b9d14fa49c3f900ca30c.tar.gz linux-stable-6a2f0641d3c268ee8703b9d14fa49c3f900ca30c.tar.bz2 linux-stable-6a2f0641d3c268ee8703b9d14fa49c3f900ca30c.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_bios.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c index c5405d173c5f..a0c42e6c9873 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c @@ -699,8 +699,6 @@ static void parse_dsi_backlight_ports(struct drm_i915_private *dev_priv, if (dev_priv->vbt.dsi.config->cabc_supported) dev_priv->vbt.dsi.cabc_ports = BIT(port); - dev_priv->vbt.dsi.config->dl_dcs_cabc_ports = 0; - dev_priv->vbt.dsi.config->dl_dcs_backlight_ports = 0; return; } |