drm/i915: Initialise g4x watermarks for disabled pipes
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Apr 2011 08:28:23 +0000 (09:28 +0100)
committerKeith Packard <keithp@keithp.com>
Wed, 13 Apr 2011 16:28:41 +0000 (09:28 -0700)
commit5c72d064f7ead1126bed6faab0c2bfb7418036e2
treec5278936857a313edacb354536546b563d500d9c
parentf6e5b1603b8bb7131b6778d0d4e2e5dda120a379
drm/i915: Initialise g4x watermarks for disabled pipes

We were using uninitialised watermarks values for disabled pipes which
were combined into a single WM register and so corrupting the values for
the enabled pipe and upsetting the display hardware.

Reported-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=32612
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c