Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Francisco Jerez and committed by
Ben Skeggs
1849719e 54bf67de

+1 -1
+1 -1
drivers/gpu/drm/nouveau/nouveau_bios.c
··· 6003 6003 entry->i2c_index = i2c; 6004 6004 entry->heads = heads; 6005 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 6009 6009 static void fabricate_dvi_i_output(struct dcb_table *dcb, bool twoHeads)