]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/nvd0/disp: fix sor dpms typo, preventing dpms on in some situations
authorBen Skeggs <bskeggs@redhat.com>
Wed, 16 Nov 2011 23:10:02 +0000 (09:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 30 Nov 2011 13:40:30 +0000 (23:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvd0_display.c

index 23d63b4b3d77078ce4a351f82b8d7cba16d280b7..cb006a718e700f2c72cf06dfdac0c7f22e8cbdac 100644 (file)
@@ -780,7 +780,7 @@ nvd0_sor_dpms(struct drm_encoder *encoder, int mode)
                        continue;
 
                if (nv_partner != nv_encoder &&
-                   nv_partner->dcb->or == nv_encoder->or) {
+                   nv_partner->dcb->or == nv_encoder->dcb->or) {
                        if (nv_partner->last_dpms == DRM_MODE_DPMS_ON)
                                return;
                        break;