drm/i915/skl: Support for edp low_vswing param in vbt
authorSonika Jindal <sonika.jindal@intel.com>
Wed, 25 Feb 2015 04:59:11 +0000 (10:29 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Feb 2015 15:06:00 +0000 (16:06 +0100)
commit9a57f5bb717f9f171c7c18edabc4682fde3f67f3
tree9a80ab180068d18137f94d514ce8e00fed5c315b
parentba0635ffb7665d76715b43ae8144e014a90c1e63
drm/i915/skl: Support for edp low_vswing param in vbt

v2: Adding VBT version check for low_vswing field, and correcting parsing

v3: (Damien)
 - Restrain the scope of the 'vswing' variable
 - Use the more idiomatic "ev_priv->vbt.edp_low_vswing = vswing == 0;"
  instead of if (foo) var = true; else var = false;
 - Shorten edp_vswing_premph_setting to edp_vswing_premph to fit in 80 chars
 - Add the version from which the edp_vswing_premph field is valid in the
  struct definition

Reviewed-by: Satheeshakrishna M <satheeshakrishna.m@intel.com> (v2)
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h