drm/nouveau: correct INIT_DP_CONDITION subcondition 5
authorBen Skeggs <bskeggs@redhat.com>
Tue, 21 Sep 2010 02:10:51 +0000 (12:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:28:16 +0000 (16:28 +1000)
Fixes DP output on a GTX 465 board I have.

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

index 8d60bfd..7b7b1e2 100644 (file)
@@ -1222,7 +1222,7 @@ init_dp_condition(struct nvbios *bios, uint16_t offset, struct init_exec *iexec)
                        return 3;
                }
 
-               if (cond & 1)
+               if (!(cond & 1))
                        iexec->execute = false;
        }
                break;