[Nouveau] [Bug 78748] Nouveau fails initializing KMS on Geforce2 Go (NV11M)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 15 10:00:55 PDT 2014


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

--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
My investigation of this led to mode being null. I guess I would have expected
bios->fp_no_ddc to be set, but it wasn't. Will look at the attached vbios.

A workaround for now would be to change

drivers/gpu/drm/nouveau/nouveau_connector.c:nouveau_connector_detect_depth

        /* LVDS: panel straps */
        if (bios->fp_no_ddc) {
                if (bios->fp.if_is_24bit)
                        connector->display_info.bpc = 8;
                return;
        }

to be

        /* LVDS: panel straps */
        if (1 || bios->fp_no_ddc) {
                if (bios->fp.if_is_24bit)
                        connector->display_info.bpc = 8;
                return;
        }

Which will force it down this path. Alternatively you could change

                duallink = mode->clock >= bios->fp.duallink_transition_clk;

to be

                duallink = mode && mode->clock >=
bios->fp.duallink_transition_clk;

Which would also avoid the crash.

-- 
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/20140515/eebc5010/attachment.html>


More information about the Nouveau mailing list