Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add wait_for in init_ring_common

2012-03-18 Thread Daniel Vetter
On Fri, Mar 16, 2012 at 12:43:22PM -0400, Sean Paul wrote: > I have seen a number of "blt ring initialization failed" messages > where the ctl or start registers are not the correct value. Upon further > inspection, if the code just waited a little bit, it would read the > correct value. Adding the

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add wait_for in init_ring_common

2012-03-16 Thread Ben Widawsky
On Fri, Mar 16, 2012 at 12:43:22PM -0400, Sean Paul wrote: > I have seen a number of "blt ring initialization failed" messages > where the ctl or start registers are not the correct value. Upon further > inspection, if the code just waited a little bit, it would read the > correct value. Adding the

[Intel-gfx] [PATCH 2/2] drm/i915: Add wait_for in init_ring_common

2012-03-16 Thread Sean Paul
I have seen a number of "blt ring initialization failed" messages where the ctl or start registers are not the correct value. Upon further inspection, if the code just waited a little bit, it would read the correct value. Adding the wait_for to these reads should eliminate the issue. Signed-off-by