aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_bios.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-08-03 09:34:53 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-08-09 01:16:15 -0400
commit1849719ef86e29def631a473e496507a4e052c06 (patch)
treeec70a724223e971d408244a355f737705ee9770c /drivers/gpu/drm/nouveau/nouveau_bios.c
parent54bf67dee9551f7fd45540a9dec3e5144323c877 (diff)
drm/nouveau: Init dcb->or on cards that have no usable DCB table.
We need a valid OR value because there're a few nv17 cards with DCB v1.4. Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bios.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index a8aef936d706..8464d205e41c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -6003,7 +6003,7 @@ static void fabricate_vga_output(struct dcb_table *dcb, int i2c, int heads)
6003 entry->i2c_index = i2c; 6003 entry->i2c_index = i2c;
6004 entry->heads = heads; 6004 entry->heads = heads;
6005 entry->location = DCB_LOC_ON_CHIP; 6005 entry->location = DCB_LOC_ON_CHIP;
6006 /* "or" mostly unused in early gen crt modesetting, 0 is fine */ 6006 entry->or = 1;
6007} 6007}
6008 6008
6009static void fabricate_dvi_i_output(struct dcb_table *dcb, bool twoHeads) 6009static void fabricate_dvi_i_output(struct dcb_table *dcb, bool twoHeads)