Re: [PATCH] drm/i915: cope with large i2c transfers

From: Linus Torvalds
Date: Tue Apr 21 2015 - 12:16:58 EST


On Tue, Apr 21, 2015 at 12:24 AM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> Though I am tempted to say we should impose the 256 byte limit for
> stable@

If the docs say 256, I'd suggest using that not just for stable, but
for anything. Maybe 511 bytes work everywhere and the docs are just
wrong. And maybe it doesn't. I'd rather start out conservative, and if
somebody can show that it really matters, and that 511 bytes really is
always safe, we can do it then. But I don't imagine that the
difference between "chunk it up to max 511 bytes" is really noticeably
faster than "chunk it up to 256 bytes max".

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/