Commit 9976f15c authored by Ben Skeggs's avatar Ben Skeggs

drm/nv50/disp: wait for encoder disconnect to complete before link training

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 7ae494e8
...@@ -174,7 +174,12 @@ nv50_sor_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, ...@@ -174,7 +174,12 @@ nv50_sor_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
static void static void
nv50_sor_prepare(struct drm_encoder *encoder) nv50_sor_prepare(struct drm_encoder *encoder)
{ {
struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
nv50_sor_disconnect(encoder); nv50_sor_disconnect(encoder);
if (nv_encoder->dcb->type == OUTPUT_DP) {
/* avoid race between link training and supervisor intr */
nv50_display_sync(encoder->dev);
}
} }
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment