[Bug 76301] Intel G41 doesn't see any screens connected after suspend/resume

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 4 13:22:17 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76301

--- Comment #10 from Jesse Barnes <jbarnes at virtuousgeek.org> ---
Ugly... so things look like they work fine on boot, but then on resume:

[   86.048829] [drm:i915_redisable_vga], Something enabled VGA plane, disabling
it
[   86.049139] [drm:intel_opregion_setup], graphic opregion physical addr:
0xd7d8e0f4
[   86.049152] [drm:intel_opregion_setup], Public ACPI methods supported
[   86.049153] [drm:intel_opregion_setup], SWSCI supported
[   86.072014] [drm:swsci_setup], SWSCI BIOS requested (00000021) SBCB
callbacks that are not supported (00000041)
[   86.072016] [drm:swsci_setup], SWSCI GBDA callbacks 000004f3, SBCB callbacks
00000021
[   86.072017] [drm:intel_opregion_setup], ASLE supported

We've made changes to our resume code around opregion I think, so it's worth
trying a drm-intel-nightly kernel...

[   86.072065] [drm:init_status_page], render ring hws offset: 0x00001000
[   86.072068] [drm:i915_gem_object_create_stolen], creating stolen object:
size=20000
[   86.072071] [drm:i915_pages_create_for_stolen], offset=0x0, size=131072
[   86.072111] [drm:init_status_page], bsd ring hws offset: 0x00024000
[   86.072113] [drm:i915_gem_object_create_stolen], creating stolen object:
size=20000
[   86.072115] [drm:i915_pages_create_for_stolen], offset=0x20000, size=131072
[   86.072172] [drm:intel_modeset_readout_hw_state], [CRTC:3] hw state readout:
disabled
[   86.072175] [drm:intel_modeset_readout_hw_state], [CRTC:4] hw state readout:
disabled
[   86.072178] [drm:intel_modeset_readout_hw_state], [ENCODER:6:DAC-6] hw state
readout: disabled, pipe A
[   86.072181] [drm:intel_modeset_readout_hw_state], [ENCODER:7:TMDS-7] hw
state readout: disabled, pipe A
[   86.072184] [drm:intel_modeset_readout_hw_state], [ENCODER:11:TMDS-11] hw
state readout: disabled, pipe A
[   86.072187] [drm:intel_modeset_readout_hw_state], [CONNECTOR:5:VGA-1] hw
state readout: disabled
[   86.072189] [drm:intel_modeset_readout_hw_state], [CONNECTOR:8:HDMI-A-1] hw
state readout: disabled
[   86.072191] [drm:intel_modeset_readout_hw_state], [CONNECTOR:12:DP-1] hw
state readout: disabled

So we came out of resume and saw everything disabled, that's expected.

...
[   86.072237] [drm:intel_modeset_affected_pipes], set mode pipe masks:
modeset: 1, prepare: 1, disable: 0
[   86.072239] [drm:connected_sink_compute_bpp], [CONNECTOR:8:HDMI-A-1]
checking for sink bpp constrains
[   86.072240] [drm:intel_hdmi_compute_config], picking bpc to 8 for HDMI
output
[   86.072241] [drm:intel_hdmi_compute_config], forcing pipe bpc to 24 for HDMI
[   86.072242] [drm:intel_modeset_pipe_config], plane bpp: 24, pipe bpp: 24,
dithering: 0
[   86.072243] [drm:intel_dump_pipe_config], [CRTC:3][modeset] config for pipe
A
[   86.072244] [drm:intel_dump_pipe_config], cpu_transcoder: A
[   86.072245] [drm:intel_dump_pipe_config], pipe bpp: 24, dithering: 0
[   86.072246] [drm:intel_dump_pipe_config], fdi/pch: 0, lanes: 0, gmch_m: 0,
gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[   86.072247] [drm:intel_dump_pipe_config], dp: 0, gmch_m: 0, gmch_n: 0,
link_m: 0, link_n: 0, tu: 0
[   86.072248] [drm:intel_dump_pipe_config], requested mode:
[   86.072250] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 60
148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[   86.072250] [drm:intel_dump_pipe_config], adjusted mode:
[   86.072252] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 60
148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[   86.072254] [drm:intel_dump_crtc_timings], crtc timings: 148500 1920 2008
2052 2200 1080 1084 1089 1125, type: 0x48 flags: 0x5
[   86.072254] [drm:intel_dump_pipe_config], port clock: 148500
[   86.072255] [drm:intel_dump_pipe_config], pipe src size: 1920x1080
[   86.072256] [drm:intel_dump_pipe_config], gmch pfit: control: 0x00000000,
ratios: 0x00000000, lvds border: 0x00000000
[   86.072257] [drm:intel_dump_pipe_config], pch pfit: pos: 0x00000000, size:
0x00000000, disabled
[   86.072258] [drm:intel_dump_pipe_config], ips: 0
[   86.072259] [drm:intel_dump_pipe_config], double wide: 0
[   86.072293] [drm:i9xx_set_pipeconf], disabling CxSR downclocking
[   86.072298] [drm:i9xx_update_plane], Writing base 05045000 00000000 0 0 7680
[   86.072301] [drm:intel_crtc_mode_set], [ENCODER:7:TMDS-7] set
[MODE:0:1920x1080]
[   86.072957] [drm:g4x_check_srwm], SR watermark: display plane 114, cursor 6
[   86.072958] [drm:g4x_check_srwm], display watermark is too large(114/63),
disabling
[   86.072960] [drm:g4x_update_wm], Setting FIFO watermarks - A: plane=49,
cursor=6, B: plane=2, cursor=2, SR: plane=0, cursor=0
[   86.128027] [drm:intel_modeset_affected_pipes], set mode pipe masks:
modeset: 0, prepare: 0, disable: 0

Here we're trying to set the resume mode on the connectors, and it looks ok
until...

[   86.128031] [drm:intel_connector_check_state], [CONNECTOR:8:HDMI-A-1]
[   86.128034] [drm:check_encoder_state], [ENCODER:6:DAC-6]
[   86.128036] [drm:check_encoder_state], [ENCODER:7:TMDS-7]
[   86.128038] [drm:check_encoder_state], [ENCODER:11:TMDS-11]
[   86.128040] [drm:check_crtc_state], [CRTC:3]
[   86.128050] [drm:check_crtc_state], [CRTC:4]
[   86.128053] [drm:intel_resume_hotplug], running encoder hotplug functions
[   86.128056] [drm:intel_crt_detect], [CONNECTOR:5:VGA-1] force=0
[   86.144017] [drm:intel_crt_detect], CRT not detected via hotplug
[   86.148016] [drm:gmbus_xfer], GMBUS [i915 gmbus vga] NAK for addr: 0050 r(1)
[   86.148018] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter
i915 gmbus vga
[   86.148019] [drm:intel_crt_get_edid], CRT GMBUS EDID read failed, retry
using GPIO bit-banging
[   86.148021] [drm:intel_gmbus_force_bit], enabling bit-banging on i915 gmbus
vga. force bit now 1
[   86.148287] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter
i915 gmbus vga
[   86.148288] [drm:intel_gmbus_force_bit], disabling bit-banging on i915 gmbus
vga. force bit now 0
[   86.148289] [drm:intel_crt_detect_ddc], CRT not detected via DDC:0x50 [no
valid EDID found]
[   86.148291] [drm:drm_helper_hpd_irq_event], [CONNECTOR:5:VGA-1] status
updated from unknown to disconnected
[   86.148292] [drm:intel_hdmi_detect], [CONNECTOR:8:HDMI-A-1]
[   86.152015] [drm:gmbus_xfer], GMBUS [i915 gmbus dpb] NAK for addr: 0050 r(1)
[   86.152017] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter
i915 gmbus dpb
[   86.152019] [drm:drm_helper_hpd_irq_event], [CONNECTOR:8:HDMI-A-1] status
updated from unknown to disconnected
[   86.152021] [drm:intel_dp_detect], [CONNECTOR:12:DP-1]
[   86.152024] [drm:drm_helper_hpd_irq_event], [CONNECTOR:12:DP-1] status
updated from unknown to disconnected
[   86.152057] i915: No ACPI video bus found

Here when we fail to detect anything after resume.  So our DDC probing is
failing.  Chris had a good theory about our GMbus failing, but it sounds like
you tested that.

So it's possible your BIOS is disabling something we don't re-enable, or
changing a clock we don't re-program, which causes our probing to fail.

Can you test again with a current kernel and attach the debug output again? 
Hopefully this has been fixed, but if not we'll have to grot around in some
additional registers and see what's going on...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141204/dcabb4c3/attachment.html>


More information about the intel-gfx-bugs mailing list