[Intel-gfx] [PATCH] drm/i915: fix intel_crtc_get_clock pipe reads after "cleanup"

Keith Packard keithp at keithp.com
Sat Apr 23 01:08:42 CEST 2011


On Fri, 22 Apr 2011 22:22:28 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:

>  		fp = FP0(pipe);
>  	else
>  		fp = FP1(pipe);
> +	fp = I915_READ(fp);

Please use different variables for the offset vs the value...

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110422/a1f3bbd5/attachment.sig>


More information about the Intel-gfx mailing list