summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-06-05 04:56:35 +0200
committerBen Skeggs <bskeggs@redhat.com>2014-06-11 08:11:35 +0200
commitefa366fdf5658ca9ccad38e235818d121b1b8002 (patch)
treee0aff5b2c6bfdd2894707cdd9f0570f743ca9f3c
parentdrm/nv50-: prepare for attaching a SOR to multiple heads (diff)
downloadlinux-efa366fdf5658ca9ccad38e235818d121b1b8002.tar.xz
linux-efa366fdf5658ca9ccad38e235818d121b1b8002.zip
drm/nv50-: trigger update after all connectors disabled
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>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 765cf68545ae..afdf607df3e6 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -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);