Re: [Intel-gfx] [PATCH] drm/i915: Disable all outputs early, before KMS takeover

Tomas Winkler
2011-04-05T11:55:14Z

On Tue, Apr 5, 2011 at 1:37 PM, Pekka Enberg <penberg@kernel.org> wrote:
> Hi Chris!
>
> On Tue, Apr 5, 2011 at 1:30 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> On Tue, 5 Apr 2011 13:21:08 +0300, Tomas Winkler <tomasw@gmail.com> wrote:
>>> On Fri, Apr 1, 2011 at 2:51 PM, Pekka Enberg <penberg@kernel.org> wrote:
>>> > Unfortunately I get a blank screen with after boot:
>>> > Nacked-by: Pekka Enberg <penberg@kernel.org>
>>
>> But until you can tell me where it explodes on your system, we fix
>> issues on several other machines...
>
> Oh, that's nice, you first made the damn thing flicker in 2.6.39-rc1
> and now you're fixing it for others by giving me a blank screen after
> boot?
>
> I guess I don't need to tell you that I am not at all happy especially
> since you keep breaking i915 in almost every damn release!
>
>>> Not sure this is related, but when I enable DRM_I915_KMS=y I'm got
>>> stuck after boot too. When KMS is disabled I can at least get to the
>>> console (no graphics)
>>> This is with kernel 2.6.39-rc1.  It worked fine with 2.6.38. I don't
>>> have much time bisect and reboot.  Shell I  try to pull drm-fixes for
>>> rc2 or use try this patch?

merging drm-fixes for rc2 definitely helped booting.

>> Add drm.debug=0xe to your grub kernel parameters and attach the dmesg for
>> the failing boot. From that I should be able to recommend a course of
>> action.

There are some error messages

4.311738] [drm:intel_crt_init], pch crt adpa set to 0xf40000
[ 4.311792] [drm:intel_dp_i2c_init], i2c_init DPDDC-C
[ 4.312300] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[ 4.312302] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
[ 4.312814] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[ 4.312815] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
[ 4.312848] [drm:intel_dp_i2c_init], i2c_init DPDDC-D
[ 4.313357] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[ 4.313358] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
[ 4.313866] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[ 4.313868] [drm:intel_dp_i2c_aux_ch], aux_ch failed -110
[ 4.313886] [drm:intel_panel_get_backlight], get backlight PWM = 0
[ 4.313891] vgaarb: device changed decodes:
PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 4.314378] [drm:ironlake_crtc_dpms], crtc 0/0 dpms off
[ 4.314381] [drm:i915_get_vblank_timestamp], crtc 0 is disabled
[ 4.343908] [drm:intel_update_fbc],
[ 4.343910] [drm:ironlake_crtc_dpms], crtc 1/1 dpms off
[ 4.343912] [drm:gm45_get_vblank_counter], trying to get vblank
count for disabled pipe B
[ 4.343914] [drm:i915_get_vblank_timestamp], crtc 1 is disabled
[ 4.343916] [drm:gm45_get_vblank_counter], trying to get vblank
count for disabled pipe B
[ 4.344555] [drm:intel_update_fbc],
[ 4.344559] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:5:VGA-1]
[ 4.344562] [drm:intel_ironlake_crt_detect_hotplug], trigger
hotplug detect cycle: adpa=0xf40000
[ 4.354477] [drm:intel_ironlake_crt_detect_hotplug], ironlake
hotplug adpa=0xf40000, result 0
[ 4.354483] [drm:intel_crt_detect], CRT not detected via hotplug
[ 4.354488] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:5:VGA-1] disconnected
[ 4.354493] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:8:HDMI-A-1]
[ 4.364484] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:8:HDMI-A-1] disconnected
[ 4.364491] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:12:HDMI-A-2]
[ 4.416299] [drm] GMBUS timed out, falling back to bit banging on
pin 7 [i915 gmbus dpd]
[ 4.537460] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:12:HDMI-A-2] probed modes :
[ 4.537462] [drm:drm_mode_debug_printmodeline], Modeline
21:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48
0x5

Tomas