http://bugzilla.kernel.org/show_bug.cgi?id=13214





--- Comment #10 from Bruno <[email protected]>  2009-05-17 09:46:14 ---
Regarding Stefan's suggestion in comment #5, that does not seem to help on my
side.

I did try a slightly different approach (e.g. not forcing ALL outputs to get
handled as LVDS), but internal display kept showing black content.

When booting with a VGA display connected (1280x1024 native) I do see kernel
boot output on external monitor (though that one is complaining about signal
timing: horizontal 40.0kHz, vertical 37.5Hz)

(Note: while playing with Xorg (1.5.3 + 2.7.1 driver) I could not convince the
local display to change it's mind but had both displays unexpectedly disabled
at some time andsystem frozen hard slightly later)

The patch I used looks like this (sorry for line-wrapping):
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 3387cf3..5a82cff 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1094,12 +1094,15 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
                }

                num_outputs++;
+               DRM_INFO("Checking output '%s' of type %d (LVDS: %d,
num_outputs=%d)\n",
+                               connector->display_info.name,
intel_output->type, is_lvds,
+                               num_outputs);
        }

        if (is_lvds && dev_priv->lvds_use_ssc && num_outputs < 2) {
                refclk = dev_priv->lvds_ssc_freq * 1000;
                DRM_DEBUG("using SSC reference clock of %d MHz\n", refclk /
1000);
-       } else if (IS_I9XX(dev)) {
+       } else if (IS_I9XX(dev) || IS_I855(dev)) {
                refclk = 96000;
        } else {
                refclk = 48000;

Snipplet of boot output with external display connected:
[    0.545852] Linux agpgart interface v0.103
[    0.545935] agpgart-intel 0000:00:00.0: Intel 855GM Chipset
[    0.546813] agpgart-intel 0000:00:00.0: detected 32636K stolen memory
[    0.548387] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xe8000000
[    0.548559] [drm] Initialized drm 1.1.0 20060810
[    0.548655] i915 0000:00:02.0: power state changed by ACPI to D0
[    0.548998] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[    0.549053] PCI: setting IRQ 11 as level-triggered
[    0.549059] i915 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 11 (level,
low) -> IRQ 11
[    0.549135] i915 0000:00:02.0: setting latency timer to 64
[    1.545459] allocated 1400x1050 fb: 0x01fff000, bo dda08f60
[    1.545658] async/0 used greatest stack depth: 2568 bytes left
[    1.545750] fbcon: inteldrmfb (fb0) is primary device
[    1.589763] [drm] Checking output '' of type 1 (LVDS: 0, num_outputs=1)
[    1.635699] [drm] DAC-6: set mode 1280x1024 1e
[    1.681779] [drm] Checking output '' of type 4 (LVDS: 1, num_outputs=1)
[    1.723225] [drm] LVDS-8: set mode 1400x1050 15
[    1.946998] Console: switching to colour frame buffer device 160x64
[    1.956947] fb0: inteldrmfb frame buffer device
[    1.957005] registered panic notifier
[    1.957060] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor
0

Will try with unchanged refclk to see if this one does affect signal timing.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to