From: Ville Syrjälä Date: Thu, 14 Aug 2014 22:22:02 +0000 (+0300) Subject: drm/i915: Rewrite ns2501 driver a bit X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae06ca122a5f37bdd4d8faedae7881f53b145cd;p=pandora-kernel.git drm/i915: Rewrite ns2501 driver a bit Try to use the same programming sequence as used by the IEGD driver. Also shovel the magic register values into a big static const array. The register values are actually the based on what the BIOS programs on the Fujitsu-Siemens Lifebook S6010. IEGD seemed to have hardcoded register values (which also enabled the scaler for 1024x768 mode). However those didn't actually work so well on the S6010. Possibly the pipe timings that got used didn't match the ns2501 configuration. Signed-off-by: Ville Syrjälä Reviewed-by: Thomas Richter Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed