]> git.baikalelectronics.ru Git - kernel.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)
commitb379a4d0fca9b27fa310dbd24131c97a791a358c
tree151ce60f5d0ff41342a772b9361f06c12d8e1720
parent133ebde6e8a83c00270f9ef6b69a25ba43a53a0e
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