Bug#295488: [sparc64] [atyfb] No display after boot; monitor is suspended
Package: kernel-source-2.6.10
Severity: serious
Justification: Serious regression from 2.6.8
Tags: patch
As a result of the discussion on switching to 2.6.10 for Sarge, I have
tested 2.6.10 on my Sparc Ultra 10.
Result was that I discovered a serious regression for the atyfb (Mach64)
framebuffer driver since upstream 2.6.10-rc2. I've managed to trace the
problem and solve it with the help from upstream.
Please apply the attached patch that was prepared by David S. Miller
<davem@davemloft.net> and will also be pushed in the upstream kernel.
For the complete history of this patch, see [1].
[1] http://lists.debian.org/debian-sparc/2005/02/msg00043.html
Cheers,
FJP
===== drivers/video/aty/atyfb_base.c 1.82 vs edited =====
--- 1.82/drivers/video/aty/atyfb_base.c 2005-01-04 18:48:32 -08:00
+++ edited/drivers/video/aty/atyfb_base.c 2005-02-15 08:19:00 -08:00
@@ -2511,7 +2511,15 @@
}
} else
#endif /* !CONFIG_PPC */
- if (!fb_find_mode(&var, info, mode, NULL, 0, &defmode, 8))
+ if (
+#if defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64)
+ /* On Sparc, unless the user gave a specific mode
+ * specification, use the PROM probed values in
+ * default_var.
+ */
+ !mode ||
+#endif
+ !fb_find_mode(&var, info, mode, NULL, 0, &defmode, 8))
var = default_var;
if (noaccel)
Reply to: