diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-04-26 13:27:39 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-04-27 09:47:26 +0300 |
commit | 4b541efe440b45cd9cc1fb609d211316dca2cc96 (patch) | |
tree | f70f8cad8467ef2626eef0a090c32986772325a6 /drivers | |
parent | 9f7c5b17302489f4b880b9adcd7bd78e3e9fcac9 (diff) | |
download | linux-4b541efe440b45cd9cc1fb609d211316dca2cc96.tar.xz |
drm/i915/dsi: add support for sequence block v3 gpio for VLV
Only support North Core (NC) GPIOs for now, and assume the vlv gpio
table only has NC GPIOs for now.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/d51c9479e8ef0b201452086870e7785928a86289.1461666263.git.jani.nikula@intel.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c index c7281c391d0f..a1cc8533cff5 100644 --- a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c +++ b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c @@ -203,8 +203,8 @@ static void vlv_exec_gpio(struct drm_i915_private *dev_priv, map = &vlv_gpio_table[gpio_index]; if (dev_priv->vbt.dsi.seq_version >= 3) { - DRM_DEBUG_KMS("GPIO element v3 not supported\n"); - return; + /* XXX: this assumes vlv_gpio_table only has NC GPIOs. */ + port = IOSF_PORT_GPIO_NC; } else { if (gpio_source == 0) { port = IOSF_PORT_GPIO_NC; |