diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-02 09:57:16 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-03 18:20:11 +0100 |
commit | 54c136d4e525684a3310e3dd76de8ae81d7dbbf7 (patch) | |
tree | 2881168f2e206e5fb1c49e896315a3db9a6e6726 /drivers/gpu/drm/i915/intel_dp.c | |
parent | e445123975141a1f14b3c8f2aa96588f62a0c156 (diff) | |
download | lwn-54c136d4e525684a3310e3dd76de8ae81d7dbbf7.tar.gz lwn-54c136d4e525684a3310e3dd76de8ae81d7dbbf7.zip |
drm/i915: Add a timing breadcrumb to panel waits
When inspecting reports that boot/suspend/resume times are unusual it
would be useful to clearly identify the time we must spend waiting for
the hardware to complete its task. In this case we have a notification
before we start waiting for the panel to change state, but none
afterwards - which would be useful.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 5f97be6f22ed..d45b311c1ab6 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1037,6 +1037,8 @@ static void ironlake_wait_panel_status(struct intel_dp *intel_dp, I915_READ(pp_stat_reg), I915_READ(pp_ctrl_reg)); } + + DRM_DEBUG_KMS("Wait complete\n"); } static void ironlake_wait_panel_on(struct intel_dp *intel_dp) |