Comment 5 for bug 359350

Revision history for this message
c_ellesley (archelegraph) wrote :

I compiled nouveau and changed nv_bios.c where dcb1.5 is parsed, to let my dcb-entries be accepted :
Line 4343:
{ if (conn != 0xf0003f00 && conn != 0xf2247f10

/*these two where added */ && conn != 0xf0007f00 && conn != 0xf2205002 &&

     conn != 0xf2204001 && conn != 0xf2204301 && conn != 0xf2204311 && conn != 0xf2208001 && conn != 0xf2244001 && conn != 0xf2244301 && conn != 0xf2244311 && conn != 0xf4204011 && conn != 0xf4208011 && conn != 0xf4248011 &&
     conn != 0xf2045ff2 &&
     conn != 0xf2045f14 && conn != 0xf207df14 && conn != 0xf2205004) {
  NV_ERROR(pScrn, "Unknown DCB 1.5 entry, please report\n");

  /* cause output setting to fail for !TV, so message is seen */
  if ((conn & 0xf) != 0x1)
   dcb->entries = 0;

  return false;
 }

I was hoping it would work without further ado - well no it doesn't, but maybe the xorg.log is interesting for you:
-there are two dcb entries:
(II) NOUVEAU(0): BMP BIOS found
(II) NOUVEAU(0): BMP version 5.20
(II) NOUVEAU(0): Bios version 03.11.01.48
(II) NOUVEAU(0): Found Display Configuration Block version 1.5
(!!) NOUVEAU(0): Raw DCB entry 0: f0007f00 000088b8
(!!) NOUVEAU(0): Raw DCB entry 1: f2205002 ffffffff
(--) NOUVEAU(0): Parsing VBIOS init table 0 at offset 0xADFE
(--) NOUVEAU(0): Parsing VBIOS init table 1 at offset 0xB4EC
(--) NOUVEAU(0): Parsing VBIOS init table 2 at offset 0xAE19
(--) NOUVEAU(0): Parsing VBIOS init table 3 at offset 0xB493
(--) NOUVEAU(0): Parsing VBIOS init table 4 at offset 0xAEAC
(--) NOUVEAU(0): Parsing VBIOS init table 5 at offset 0xB000
(--) NOUVEAU(0): Parsing VBIOS init table 6 at offset 0xAED1
(--) NOUVEAU(0): Parsing VBIOS init table 7 at offset 0xAF9B
(II) NOUVEAU(0): Output DVI-I-0 using monitor section Standardbildschirm
(II) NOUVEAU(0): I2C bus "DVI-I-0" initialized.
(II) NOUVEAU(0): I2C device "DVI-I-0:E-EDID segment register" registered at address 0x60.
(II) NOUVEAU(0): I2C device "DVI-I-0:ddc2" registered at address 0xA0.