drm/i915: Clear pfit registers when not used by any outputs
authorChris Wilson <[email protected]>
Mon, 29 Nov 2010 18:00:23 +0000 (18:00 +0000)
committerChris Wilson <[email protected]>
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 <[email protected]>
Tested-by: Ciprian Docan <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c