drm/nouveau: Force TV encoder DPMS reinit after resume.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 11 Feb 2010 11:47:40 +0000 (12:47 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 16 Feb 2010 01:15:07 +0000 (11:15 +1000)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv17_tv.c

index 58b917c..21ac6e4 100644 (file)
@@ -579,6 +579,8 @@ static void nv17_tv_restore(struct drm_encoder *encoder)
                                nouveau_encoder(encoder)->restore.output);
 
        nv17_tv_state_load(dev, &to_tv_enc(encoder)->saved_state);
+
+       nouveau_encoder(encoder)->last_dpms = NV_DPMS_CLEARED;
 }
 
 static int nv17_tv_create_resources(struct drm_encoder *encoder,