drm/i915: Replace the static panel_type variable with dev_priv->vbt.panel_type
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 Apr 2016 13:28:12 +0000 (16:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2016 10:23:43 +0000 (13:23 +0300)
commit3e845c7a4095b7f051a61c8eb07d6d379c6e014f
treeb28ec46afdb4e327a174fe25c7380107abee241d
parenteeeebea6cbe0d85817e2fa8eee8a2f5c9d88a44a
drm/i915: Replace the static panel_type variable with dev_priv->vbt.panel_type

Store the extracted panel_type under dev_priv.vbt instead of keeping
around a static variable for it.

Cc: Rob Kramer <rob@solution-space.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c