<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Nouveau fails initializing KMS on Geforce2 Go (NV11M)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78748#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Nouveau fails initializing KMS on Geforce2 Go (NV11M)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78748">bug 78748</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>