[Intel-gfx] [PATCH] drm/i915: Fix restore of 965 fence regs since the register tracing change.

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 18 15:46:07 CET 2010


On Thu, 18 Nov 2010 11:47:12 +0800, Keith Packard <keithp at keithp.com> wrote:
> 
> We were reading our 64-bit value in I915_READ64 and returning 32 bits
> of it.  The restoration of fence regs at resume then had a zero end
> value, and the fence had no effect.
> 
> Version 2: Split register access functions into per-size versions

This also helps silence sparse since it doesn't seem able to do
compile-time constant propagation dead-code elimination. Minor,
yet annoying, issue.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list