diff options
author | Shashank Sharma <shashank.sharma@intel.com> | 2016-03-22 12:01:50 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-03-22 17:16:36 +0200 |
commit | c6c794a2fc5e3bc8976fa318fbc7a003ecd712a1 (patch) | |
tree | a367bed509d8773b168ec5a99631ef2ff9634df5 /drivers/gpu/drm/i915/intel_dsi.c | |
parent | ad45d83968caf8e757cf895f4fd53903a092fad8 (diff) | |
download | op-kernel-dev-c6c794a2fc5e3bc8976fa318fbc7a003ecd712a1.zip op-kernel-dev-c6c794a2fc5e3bc8976fa318fbc7a003ecd712a1.tar.gz |
drm/i915/bxt: Initialize MIPI DSI for BXT
This patch contains following changes:
1. Add BXT MIPI display address base.
2. Call dsi_init from display_setup function.
v2: Rebased on latest nightly branch
v3 by Jani: init dsi after ddi
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458640910-5338-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c index 456676c..96ea3f7 100644 --- a/drivers/gpu/drm/i915/intel_dsi.c +++ b/drivers/gpu/drm/i915/intel_dsi.c @@ -1163,6 +1163,8 @@ void intel_dsi_init(struct drm_device *dev) if (IS_VALLEYVIEW(dev) || IS_CHERRYVIEW(dev)) { dev_priv->mipi_mmio_base = VLV_MIPI_BASE; + } else if (IS_BROXTON(dev)) { + dev_priv->mipi_mmio_base = BXT_MIPI_BASE; } else { DRM_ERROR("Unsupported Mipi device to reg base"); return; |