diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_dac.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_dac.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_dac.c b/drivers/gpu/drm/nouveau/nv50_dac.c index 98d312623eda..71e0d5f21f93 100644 --- a/drivers/gpu/drm/nouveau/nv50_dac.c +++ b/drivers/gpu/drm/nouveau/nv50_dac.c | |||
@@ -47,16 +47,19 @@ nv50_dac_disconnect(struct drm_encoder *encoder) | |||
47 | 47 | ||
48 | if (!nv_encoder->crtc) | 48 | if (!nv_encoder->crtc) |
49 | return; | 49 | return; |
50 | nv50_crtc_blank(nouveau_crtc(nv_encoder->crtc), true); | ||
50 | 51 | ||
51 | NV_DEBUG_KMS(dev, "Disconnecting DAC %d\n", nv_encoder->or); | 52 | NV_DEBUG_KMS(dev, "Disconnecting DAC %d\n", nv_encoder->or); |
52 | 53 | ||
53 | ret = RING_SPACE(evo, 2); | 54 | ret = RING_SPACE(evo, 4); |
54 | if (ret) { | 55 | if (ret) { |
55 | NV_ERROR(dev, "no space while disconnecting DAC\n"); | 56 | NV_ERROR(dev, "no space while disconnecting DAC\n"); |
56 | return; | 57 | return; |
57 | } | 58 | } |
58 | BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 1); | 59 | BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 1); |
59 | OUT_RING(evo, 0); | 60 | OUT_RING (evo, 0); |
61 | BEGIN_RING(evo, 0, NV50_EVO_UPDATE, 1); | ||
62 | OUT_RING (evo, 0); | ||
60 | 63 | ||
61 | nv_encoder->crtc = NULL; | 64 | nv_encoder->crtc = NULL; |
62 | } | 65 | } |