[Bug 76211] [hsw BISECTED REGRESSION] i915 resume latency 1200ms

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon May 19 15:47:07 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=76211

--- Comment #5 from Len Brown <lenb at kernel.org> ---
Re: patch in comment #3

No measurable difference.

resume in 1246ms becomes 1233ms

Same time-consumers as above.
Here's a copy/paste of the anayze_suspend.py ftrace output,
sorry the indenting is not retained.

I'll see if i can attach the whole compressed output.

0000:00:02.0 resume_general (1212.094 ms @ 141.618 to 1353.712)
dpm_run_callback (1212.093 ms @ 141.618)
initcall_debug_start (0.023 ms @ 141.619)
pm_dev_dbg (0.000 ms @ 141.644)
pci_pm_resume (1212.052 ms @ 141.645)
pci_has_legacy_pm_support (0.000 ms @ 141.646)
pci_pm_default_resume (0.003 ms @ 141.647)
i915_pm_resume [i915] (1212.045 ms @ 141.651)
dev_get_drvdata (0.000 ms @ 141.651)
i915_resume [i915] (1212.043 ms @ 141.653)
__i915_drm_thaw [i915] (1212.041 ms @ 141.653)
mutex_lock (0.001 ms @ 141.654)
i915_gem_restore_gtt_mappings [i915] (88.342 ms @ 141.656)
mutex_unlock (0.000 ms @ 229.999)
i915_restore_state [i915] (0.710 ms @ 230.000)
intel_opregion_setup [i915] (6.124 ms @ 230.710)
intel_init_pch_refclk [i915] (0.073 ms @ 236.835)
drm_mode_config_reset [drm] (0.001 ms @ 236.909)
mutex_lock (0.001 ms @ 236.910)
i915_gem_init_hw [i915] (4.437 ms @ 236.911)
mutex_unlock (0.000 ms @ 241.349)
drm_irq_install [drm] (0.197 ms @ 241.349)
intel_modeset_init_hw [i915] (0.469 ms @ 241.546)
drm_modeset_lock_all [drm] (0.004 ms @ 242.016)
intel_modeset_setup_hw_state [i915] (1071.893 ms @ 242.020)
haswell_get_pipe_config [i915] (0.011 ms @ 242.020)
haswell_get_pipe_config [i915] (0.013 ms @ 242.031)
haswell_get_pipe_config [i915] (0.012 ms @ 242.045)
intel_ddi_setup_hw_pll_state [i915] (0.000 ms @ 242.058)
intel_ddi_get_hw_state [i915] (0.006 ms @ 242.058)
intel_ddi_get_hw_state [i915] (0.005 ms @ 242.064)
intel_ddi_get_hw_state [i915] (0.005 ms @ 242.070)
intel_ddi_connector_get_hw_state [i915] (0.008 ms @ 242.075)
intel_ddi_connector_get_hw_state [i915] (0.008 ms @ 242.084)
intel_ddi_connector_get_hw_state [i915] (0.008 ms @ 242.092)
intel_ddi_connector_get_hw_state [i915] (0.009 ms @ 242.101)
gen6_read32 [i915] (0.002 ms @ 242.110)
hsw_write32 [i915] (0.003 ms @ 242.112)
intel_crtc_update_dpms [i915] (0.001 ms @ 242.115)
intel_dump_pipe_config [i915] (0.001 ms @ 242.117)
gen6_read32 [i915] (0.002 ms @ 242.119)
hsw_write32 [i915] (0.003 ms @ 242.121)
intel_crtc_update_dpms [i915] (0.001 ms @ 242.124)
intel_dump_pipe_config [i915] (0.001 ms @ 242.126)
gen6_read32 [i915] (0.002 ms @ 242.127)
hsw_write32 [i915] (0.003 ms @ 242.129)
intel_crtc_update_dpms [i915] (0.001 ms @ 242.132)
intel_dump_pipe_config [i915] (0.001 ms @ 242.133)
ilk_wm_get_hw_state [i915] (0.031 ms @ 242.135)
i915_redisable_vga [i915] (0.007 ms @ 242.167)
__intel_set_mode [i915] (1071.285 ms @ 242.174)
kmem_cache_alloc_trace (0.009 ms @ 242.174)
kmem_cache_alloc_trace (0.005 ms @ 242.183)
drm_mode_copy [drm] (0.000 ms @ 242.188)
drm_mode_copy [drm] (0.000 ms @ 242.189)
drm_mode_set_crtcinfo [drm] (0.000 ms @ 242.190)
drm_mode_set_crtcinfo [drm] (0.000 ms @ 242.191)
intel_ddi_compute_config [i915] (0.041 ms @ 242.191)
intel_pipe_has_type [i915] (0.000 ms @ 242.233)
hsw_crtc_supports_ips [i915] (0.000 ms @ 242.233)
intel_dump_pipe_config [i915] (0.001 ms @ 242.234)
drm_calc_timestamping_constants [drm] (0.000 ms @ 242.236)
drm_object_property_set_value [drm] (0.000 ms @ 242.237)
haswell_modeset_global_resources [i915] (0.039 ms @ 242.237)
drm_vblank_pre_modeset [drm] (0.004 ms @ 242.277)
haswell_crtc_mode_set [i915] (0.141 ms @ 242.281)
drm_vblank_post_modeset [drm] (0.001 ms @ 242.422)
intel_ddi_mode_set [i915] (0.001 ms @ 242.424)
haswell_crtc_enable [i915] (1071.018 ms @ 242.425)
intel_set_cpu_fifo_underrun_reporting [i915] (0.001 ms @ 242.426)
intel_ddi_pre_enable [i915] (1035.452 ms @ 242.428)
intel_ddi_get_encoder_port [i915] (0.000 ms @ 242.428)
intel_edp_panel_on [i915] (1015.037 ms @ 242.429)
edp_have_panel_power [i915] (0.003 ms @ 242.429)
wait_panel_power_cycle [i915] (806.108 ms @ 242.433)
msecs_to_jiffies (0.000 ms @ 242.433)
schedule_timeout_uninterruptible (806.101 ms @ 242.434)
wait_panel_status [i915] (0.005 ms @ 1048.536)
_pp_ctrl_reg [i915] (0.000 ms @ 1048.541)
ironlake_get_pp_control [i915] (0.003 ms @ 1048.542)
hsw_write32 [i915] (0.003 ms @ 1048.545)
gen6_read32 [i915] (0.002 ms @ 1048.549)
wait_panel_status [i915] (208.914 ms @ 1048.552)
hsw_write32 [i915] (0.005 ms @ 1257.467)
intel_dp_sink_dpms [i915] (1.040 ms @ 1257.473)
intel_dp_start_link_train [i915] (11.334 ms @ 1258.514)
intel_dp_complete_link_train [i915] (8.031 ms @ 1269.849)
intel_ddi_enable_pipe_clock [i915] (0.002 ms @ 1277.882)
ironlake_pfit_enable [i915] (0.000 ms @ 1277.885)
intel_crtc_load_lut [i915] (1.639 ms @ 1277.886)
intel_ddi_set_pipe_settings [i915] (0.007 ms @ 1279.526)
intel_ddi_enable_transcoder_func [i915] (0.008 ms @ 1279.534)
intel_update_watermarks [i915] (0.086 ms @ 1279.543)
intel_enable_pipe [i915] (0.028 ms @ 1279.630)
intel_enable_ddi [i915] (0.505 ms @ 1279.659)
intel_opregion_notify_encoder [i915] (0.002 ms @ 1280.165)
intel_enable_primary_hw_plane [i915] (17.246 ms @ 1280.168)
intel_enable_planes [i915] (0.002 ms @ 1297.415)
intel_crtc_update_cursor [i915] (0.000 ms @ 1297.417)
hsw_enable_ips [i915] (15.990 ms @ 1297.418)
mutex_lock (0.001 ms @ 1313.409)
intel_update_fbc [i915] (0.031 ms @ 1313.411)
mutex_unlock (0.000 ms @ 1313.443)
kfree (0.007 ms @ 1313.445)
kfree (0.007 ms @ 1313.452)
__intel_set_mode [i915] (0.080 ms @ 1313.461)
__intel_set_mode [i915] (0.077 ms @ 1313.542)
intel_modeset_check_state [i915] (0.292 ms @ 1313.620)
drm_modeset_unlock_all [drm] (0.004 ms @ 1313.914)
intel_hpd_init [i915] (0.030 ms @ 1313.918)
drm_sysfs_hotplug_event [drm] (0.156 ms @ 1313.950)
intel_opregion_init [i915] (38.115 ms @ 1314.107)
console_trylock (0.005 ms @ 1352.222)
queue_work_on (0.031 ms @ 1352.228)
mutex_lock (1.432 ms @ 1352.259)
mutex_unlock (0.000 ms @ 1353.692)
intel_runtime_pm_put [i915] (0.001 ms @ 1353.693)
drm_kms_helper_poll_enable [drm_kms_helper] (0.000 ms @ 1353.696)
__suspend_report_result (0.000 ms @ 1353.698)
initcall_debug_report (0.013 ms @ 1353.699)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the intel-gfx-bugs mailing list