From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 78748] Nouveau fails initializing KMS on Geforce2 Go (NV11M) Date: Thu, 15 May 2014 17:00:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1612960450==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1612960450== Content-Type: multipart/alternative; boundary="1400173255.AEae702.29728"; charset="us-ascii" --1400173255.AEae702.29728 Date: Thu, 15 May 2014 17:00:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=78748 --- Comment #2 from Ilia Mirkin --- 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. --1400173255.AEae702.29728 Date: Thu, 15 May 2014 17:00:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 78748 from
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.
--1400173255.AEae702.29728-- --===============1612960450== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1612960450==--