[Nouveau] [Bug 92274] nouveau black screen and errors with two monitors attached

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 5 10:27:01 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92274

--- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> ---
In your first dmesg, you have:

video=HDMI-0:e video=DVI-I-1:e

Are these required for something? Force-enabling this stuff just leads to
trouble down the line.

Interesting....

[    8.872612] nouveau E[    PBUS][0000:01:00.0] MMIO read of 0x00000000 FAULT
at 0x690400 [ IBUS ]
[    8.872781] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0xbadf1001 FAULT
at 0x690400 [ IBUS ]
[    8.872869] nouveau E[    PBUS][0000:01:00.0] MMIO read of 0x00000000 FAULT
at 0x6904c0 [ IBUS ]
[    8.873043] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0xbadf1001 FAULT
at 0x6904c0 [ IBUS ]

in drm/nouveau/nvkm/engine/disp/hdmigk104.c:

        /* AVI InfoFrame */
        nvkm_mask(device, 0x690000 + hdmi, 0x00000001, 0x00000000);
        nvkm_wr32(device, 0x690008 + hdmi, 0x000d0282);
        nvkm_wr32(device, 0x69000c + hdmi, 0x0000006f);
        nvkm_wr32(device, 0x690010 + hdmi, 0x00000000);
        nvkm_wr32(device, 0x690014 + hdmi, 0x00000000);
        nvkm_wr32(device, 0x690018 + hdmi, 0x00000000);
        nvkm_mask(device, 0x690000 + hdmi, 0x00000001, 0x00000001);

        /* ??? InfoFrame? */
        nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000000);
        nvkm_wr32(device, 0x6900cc + hdmi, 0x00000010);
        nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000001);

690000 + hdmi / 6900c0 + hdmi each get 2 reads/writes, but you only see one
error, both times on the enable. I wonder if this code doesn't need to be more
like

u32 foo = nvkm_rd32(device, 0x690000 + hdmi);
nvkm_wr32(device, 0x690000 + hdmi, foo & ~1);
...
nvkm_wr32(device, 0x690000 + hdmi, foo | 1);

and same sort of thing for the second section. Are comfortable enough with code
to try this on your own, or do you need patches?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151005/296e62ec/attachment.html>


More information about the Nouveau mailing list