drm/i915: Avoid use of uninitialised values when disabling panel-fitter
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Sep 2010 09:01:13 +0000 (10:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:16:40 +0000 (11:16 +0100)
commit52be11964869c948fbbb9ec7845f9c52b0d3dc09
tree122d27bd189abe10f420f8e7c298f10226ac1e44
parent4e5359cd053bfb7d8dabe4a63624a5726848ffbc
drm/i915: Avoid use of uninitialised values when disabling panel-fitter

We were passing garbage values into the panel-fitter control register
when disabling it on Ironlake - those values (filter modes and reserved
MBZ bits) would have then be re-used the next time panel-fitting was
enabled.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c