]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enable dithering on NatSemi DVO2501 for Fujitsu S6010
authorThomas Richter <thor@math.tu-berlin.de>
Thu, 23 Apr 2015 08:17:34 +0000 (10:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Apr 2015 19:31:58 +0000 (21:31 +0200)
commit761301dce8f93345fb612ef7aab614ac467eda96
treeb9d19742358fcfb9f69a99e3e0533e566894a784
parent4a96c10fbe90485d581eda50702671082d2a3ad9
drm/i915: Enable dithering on NatSemi DVO2501 for Fujitsu S6010

This patch enables the (unfortunately undocumented) scaler of the
NatSemi 2501 DVO found in the Fujitsu-Siemens S6010 laptop and other
machines of the same series and age.

Parts of the DVO scaler logic have been revealed by reverse
engineering and trial and error, so your milage may vary. The
patch (and the whole ns2501 DVO code) is currently only good for
the 1024x768 panel of the S6010, and may hopefully work on other
machines with the same panel size.

The mode-specific configuration of the scaler have been moved out
into a separate class, the mode-agnostic settings remain as raw
register list as their purpose remains unclear at this point.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thomas Richter <thor@math.tu-berlin.de>
[danvet: Make the thing apply and conform to kernel patch
expectations.]
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/dvo_ns2501.c