Re: [Intel-gfx] [PATCH] drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop

2015-07-29 Thread Daniel Vetter
On Tue, Jul 28, 2015 at 02:53:16PM +0100, Chris Wilson wrote: > On Wed, Jul 15, 2015 at 09:50:42AM +0100, Chris Wilson wrote: > > Since we may conceivably encounter situations where the upper part of the > > 64bit register changes between reads, for example when a timestamp > > counter overflows, c

Re: [Intel-gfx] [PATCH] drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop

2015-07-28 Thread Chris Wilson
On Wed, Jul 15, 2015 at 09:50:42AM +0100, Chris Wilson wrote: > Since we may conceivably encounter situations where the upper part of the > 64bit register changes between reads, for example when a timestamp > counter overflows, change the WARN into a retry loop. > > Signed-off-by: Chris Wilson >

[Intel-gfx] [PATCH] drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop

2015-07-15 Thread Chris Wilson
Since we may conceivably encounter situations where the upper part of the 64bit register changes between reads, for example when a timestamp counter overflows, change the WARN into a retry loop. Signed-off-by: Chris Wilson Cc: MichaƂ Winiarski --- drivers/gpu/drm/i915/i915_drv.h | 17 --