has the i915 "black screen" boot issue returned? [BISECTED]
Robert P. J. Day
rpjday at crashcourse.ca
Fri Jan 28 10:38:23 PST 2011
On Fri, 28 Jan 2011, Chris Wilson wrote:
> On Fri, 28 Jan 2011 11:23:08 -0500 (EST), "Robert P. J. Day" <rpjday at crashcourse.ca> wrote:
> > all right. and since we're beyond git bisection, can you post a
> > list of say 2 or 3 tests you want me to try in order? as you're the
> > expert here, it would make more sense for you to try to optimize the
> > search pattern here.
>
> If the machine is booting (just with a blank screen), then enable
> drm.debug=0xe, and check that it is being written to the system log
> files. Then boot into the broken setup, reboot and grab the debug
> messages saved from the previous (broken) boot.
>
> Otherwise we shall just wait for the opportunity to log in with a second
> machine and look for telltales before beginning exploratory surgery.
ok, this is what works:
==========
$ git diff
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.
index 64fd644..645581f 100644
--- a/drivers/gpu/drm/i915/intel_opregion.c
+++ b/drivers/gpu/drm/i915/intel_opregion.c
@@ -495,10 +495,15 @@ int intel_opregion_setup(struct drm_device *dev)
opregion->acpi = base + OPREGION_ACPI_OFFSET;
}
+return 0; // rday
+
if (mboxes & MBOX_SWSCI) {
DRM_DEBUG_DRIVER("SWSCI supported\n");
opregion->swsci = base + OPREGION_SWSCI_OFFSET;
}
+
+return 0; // rday
+
if (mboxes & MBOX_ASLE) {
DRM_DEBUG_DRIVER("ASLE supported\n");
opregion->asle = base + OPREGION_ASLE_OFFSET;
==========
*first*, i added the *later* "return 0", and still got the black
screen. i then added the one *above* that, and got a good boot, so
one therefore concludes that it's the "SWSCI" processing that's
causing the problem. of course, that says nothing about whether or
not the later "ASLE" check could be re-enabled, or does that even make
any sense?
in any event, what's above works. next?
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the dri-devel
mailing list