drm/i915/glk: Split GLK DSI device ready functionality
authorMadhav Chauhan <madhav.chauhan@intel.com>
Tue, 13 Jun 2017 07:48:14 +0000 (13:18 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Jun 2017 19:56:15 +0000 (22:56 +0300)
commit74e4ce6a78751f0a602dcbd00b53f710e312fcc5
tree54f5ef364ed8a336085f4f9d85ecccc670e4da3f
parentf6262bda462e81e959b80a96dac799bd9df27f73
drm/i915/glk: Split GLK DSI device ready functionality

This patch divides glk_dsi_device_ready() function into
two part. First part will program LP wake and MIPI DSI mode
to MIPI_CTRL reg using newly defined function glk_dsi_enable_io().
glk_dsi_enable_io() will be called from intel_dsi_pre_enable.
Second part will do remaining device ready activities using
the existing function glk_dsi_device_ready().

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1497340095-5877-1-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/intel_dsi.c