drm/i915: increase default latency constant (v2 w/comment)
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 31 Aug 2009 17:24:31 +0000 (10:24 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 2 Sep 2009 17:33:01 +0000 (10:33 -0700)
commitbcc24fb42585dc9f490cf7789a917358414bdab5
treeb9d48fecfd6ed4f5a0ba3b6c4837670612974d92
parent37d0892c5a94e208cf863e3b7bac014edee4346d
drm/i915: increase default latency constant (v2 w/comment)

Some i915/i945 platforms have a fairly high memory latency in certain
situations, so increase our constant a bit to avoid FIFO underruns.
The effect should be positive on other platforms as well; we'll have a
bit more insurance against a busy memory subsystem due to the extra
FIFO entries.

Fixes fdo bug #23368.  Needed for 2.6.31.

Tested-by: Sven Arvidsson <sa@whiz.se>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c