drm/i915: Wait for power cycle delay after turning off DSI panel power
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Apr 2016 16:17:51 +0000 (19:17 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Apr 2016 11:57:33 +0000 (14:57 +0300)
commit1d5c65edd930ff05ef036bbade87275e4b5b7b90
tree856f14bea65d6e86879f9de25bf113b3c60a281b
parent9d0996b5903fec7bff64e169b860146a923a6abe
drm/i915: Wait for power cycle delay after turning off DSI panel power

The power cycle delay starts _after_ turning off the panel power. Do the
msleep after frobbing the pmic panel power gpio.

Also toss in a FIXME about optimizing away needless waits.

Cc: Shobhit Kumar <shobhit.kumar@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Fixes: fc45e8219907 ("drm/i915: Use the CRC gpio for panel enable/disable")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460996271-29795-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dsi.c