drm/i915: Clear pfit registers when not used by any outputs
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Nov 2010 18:00:23 +0000 (18:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Nov 2010 18:45:01 +0000 (18:45 +0000)
commitc5d1b51d3559664920136b45f4d2366ed9a9e8be
tree0ff3983cb395dc5bd0de1684a60647977b35ea91
parentde18a29e0fa3904894b4e02fae0e712cd43f740c
drm/i915: Clear pfit registers when not used by any outputs

... otherwise the panel-fitter may be left enabled with random settings
and cause unintended filtering (i.e. blurring of native modes on external
panels).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31942
Reported-and-tested-by: Ben Kohler <bkohler@gmail.com>
Tested-by: Ciprian Docan <docan@eden.rutgers.edu>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c