drm/i915: update watermarks before enabling PLLs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 19 Oct 2009 22:37:32 +0000 (07:37 +0900)
committerEric Anholt <eric@anholt.net>
Fri, 23 Oct 2009 18:31:18 +0000 (11:31 -0700)
commit629598da932cfa5ff398fe10bc123282a6f3049e
tree76c088fea8b45aa63291f8eb5c1d3519d528170d
parent0e442c60dd39ac6924b11a20497734bd2303744c
drm/i915: update watermarks before enabling PLLs

When coming back from DPMS or turning on a display, make sure we have
the watermarks set up before turning on the display plane, otherwise we
may get underruns.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Dirk Hohndel <hohndel@infradead.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c