Re: [PATCH 2/2] drm/i915: Revert extra intel_wait_for_vblank to prevent stalls.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Barnes
Date: Tuesday, August 24, 2010 - 9:35 am

On Tue, 24 Aug 2010 16:56:16 +0100
Sitsofe Wheeler <sitsofe@yahoo.com> wrote:


Hm why would we be triggering the hangcheck timer due to this code?
I'd rather figure that out and fix it before covering it up like this.

Wait for vblank off will spin until the display line reg stops
incrementing, so it's important that we flush any previous writes to
shut off the pipe before waiting.  So adding a POSTING_READ() above it
might help?  But that still doesn't explain why it would cause the
hangcheck timer to notice a hang...

-- 
Jesse Barnes, Intel Open Source Technology Center
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Sitsofe Wheeler, (Mon Aug 23, 4:35 pm)
Re: [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Chris Wilson, (Mon Aug 23, 5:12 pm)
Re: [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Sitsofe Wheeler, (Tue Aug 24, 12:57 am)
Re: [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Chris Wilson, (Tue Aug 24, 1:16 am)
Re: [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Sitsofe Wheeler, (Tue Aug 24, 1:49 am)
Re: [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2, Chris Wilson, (Tue Aug 24, 2:00 am)
Re: [PATCH 2/2] drm/i915: Revert extra intel_wait_for_vbla ..., Jesse Barnes, (Tue Aug 24, 9:35 am)