drm/i915: Move the lspcon resume from .reset() to intel_dp_sink_dpms()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Oct 2020 19:47:59 +0000 (22:47 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Oct 2020 17:12:30 +0000 (20:12 +0300)
commit0a5a7499aaf52f5368dfbd735e1990c56faa912f
treee5286a4895db46fa44bc7e02df1f58b7ef6a3026
parent0e65ce24a33c1d37da4bf43c34e080334ec6cb60
drm/i915: Move the lspcon resume from .reset() to intel_dp_sink_dpms()

Rather that try to trick LSPCON back into PCON mode from the .reset()
hook let's just do that as a regular part of the normal modeset
sequence, which is going to take care of the system resume case. During
a normal modeset this should normally be a nop as the mode should have
already been switched by .detect().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201016194800.25581-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c