drm/nv50-: trigger update after all connectors disabled
authorBen Skeggs <bskeggs@redhat.com>
Thu, 5 Jun 2014 02:56:35 +0000 (12:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 11 Jun 2014 06:11:35 +0000 (16:11 +1000)
We were sending the necessary state changes to unset the mode, but
never actually hit the big GO button unless another modeset happens
afterwards.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index 765cf68545aeab12257e06f8703c5f5534d8d31d..afdf607df3e6e432d122845abed5502c4a3938d5 100644 (file)
@@ -1208,6 +1208,7 @@ static void
 nv50_crtc_disable(struct drm_crtc *crtc)
 {
        struct nv50_head *head = nv50_head(crtc);
+       evo_sync(crtc->dev);
        if (head->image)
                nouveau_bo_unpin(head->image);
        nouveau_bo_ref(NULL, &head->image);