]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: fix 845G FIFO size & burst length
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Jul 2009 19:54:59 +0000 (12:54 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2009 22:17:28 +0000 (15:17 -0700)
commitf360132626b11d0dc60814033873ca0e3111677c
tree151ce60f5d0ff41342a772b9361f06c12d8e1720
parent67941da28d59cca6817d35823fcb1e3e4eed030e
drm/i915: fix 845G FIFO size & burst length

I had one report of flicker due to FIFO underruns on 845G.  Scott was
kind enough to test a few patches and report success with this one.
Looks like 845G measures FIFO size slightly differently than other
chips, and we were also clobbering the FIFO burst length.  Fixing both
of those issues gives him a healthy machine again.

Note that we still only adjust plane A's watermark in the 830/845
case.  If someone is willing to test we could support a bigger variety
of dual-head 830/845 configurations with a bit more code.

Fixes fdo bug #19304 (again).

Reported-by: Scott Hansen <scottandchrystie@comcast.net>
Tested-by: Scott Hansen <scottandchrystie@comcast.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c