[Intel-gfx] [PATCH] drm/i915: Reset GMBUS controller after NAK

Keith Packard keithp at keithp.com
Wed Mar 30 18:48:25 CEST 2011


On Wed, 30 Mar 2011 17:07:11 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:

> +clear_err:
> +	I915_WRITE(GMBUS1 + reg_offset, GMBUS_SW_CLR_INT);
> +	POSTING_READ(GMBUS1 + reg_offset);
> +	I915_WRITE(GMBUS1 + reg_offset, 0);

Any posting read needed here?

> +
> +done:
> +	I915_WRITE(GMBUS0 + reg_offset, 0);

What's this new write doing in the non-error path? Do we need a posting
read after it?

-- 
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/20110330/1c6491a2/attachment.sig>


More information about the Intel-gfx mailing list