drm/i915/glk: Add cold boot sequence for GLK DSI
authorMadhav Chauhan <madhav.chauhan@intel.com>
Tue, 13 Jun 2017 07:48:15 +0000 (13:18 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Jun 2017 20:03:57 +0000 (23:03 +0300)
commit8a1deb329ffbdb049f6a475cf535644a81e80b55
tree8d0662af20ada430323f7ea44d3f3b7070d690e5
parent74e4ce6a78751f0a602dcbd00b53f710e312fcc5
drm/i915/glk: Add cold boot sequence for GLK DSI

As per BSEPC, if device ready bit is '0' in enable IO sequence
then its a cold boot/reset scenario eg: S3/S4 resume. If cold boot
scenario detected in enable IO, then prepare port immediately.
In normal boot scenario, prepare port after glk_dsi_device_ready().
Without cold boot sequence enabled, features like S3/S4 doesn't work.

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-2-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/intel_dsi.c