From: Ben Skeggs Date: Tue, 21 Sep 2010 02:10:51 +0000 (+1000) Subject: drm/nouveau: correct INIT_DP_CONDITION subcondition 5 X-Git-Tag: v2.6.37-rc1~92^2~25^2~38 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=64d202b4d78968979c0d44306854d41f9b71626d;p=linux.git drm/nouveau: correct INIT_DP_CONDITION subcondition 5 Fixes DP output on a GTX 465 board I have. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 8d60bfdf6c74..7b7b1e27ed0b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -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;