summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_sor.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-14 14:43:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:19 +1000
commit7ae494e80c8bbad71a968a816d06cf83da4e9b93 (patch)
treedff4c172cae4c4ed73d27bda02e07718bc8154ca /drivers/gpu/drm/nouveau/nv50_sor.c
parent0f6ea564dec79271878b03884a978062bf86eb2a (diff)
downloadtalos-op-linux-7ae494e80c8bbad71a968a816d06cf83da4e9b93.tar.gz
talos-op-linux-7ae494e80c8bbad71a968a816d06cf83da4e9b93.zip
drm/nv50/disp: disconnect encoders before reprogramming them
Fixes a case where we don't get separate supervisor interrupt sequences for disconnect and modeset events. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_sor.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_sor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c
index da603b1d8e3f..3fab98a2f959 100644
--- a/drivers/gpu/drm/nouveau/nv50_sor.c
+++ b/drivers/gpu/drm/nouveau/nv50_sor.c
@@ -174,6 +174,7 @@ nv50_sor_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
static void
nv50_sor_prepare(struct drm_encoder *encoder)
{
+ nv50_sor_disconnect(encoder);
}
static void
OpenPOWER on IntegriCloud