drm/i915: Forcing a modeset when resetting HDMI link
authorJosé Roberto de Souza <jose.souza@intel.com>
Sat, 2 Mar 2019 00:33:49 +0000 (16:33 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 4 Mar 2019 22:42:01 +0000 (14:42 -0800)
With fastboot enabled in gen9+ it broke the HDMI reset as just
setting mode_changed to true causes a fastset and here we want a full
modeset that will disable and then enable the encoder of this HDMI
link actually, so setting connectors_changed instead that will cause
modeset as desired.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190302003349.19189-3-jose.souza@intel.com
drivers/gpu/drm/i915/intel_ddi.c

index c22ddde2dfc1c3ae24e4689666a3e333d7cc490b..d329f0c206ec8d973e727efa2001613442893d90 100644 (file)
@@ -3973,7 +3973,7 @@ static int modeset_pipe(struct drm_crtc *crtc,
                goto out;
        }
 
-       crtc_state->mode_changed = true;
+       crtc_state->connectors_changed = true;
 
        ret = drm_atomic_commit(state);
 out: