From: Chris Wilson Date: Sun, 18 Jul 2010 11:05:54 +0000 (+0100) Subject: drm/i915: Refactor panel fitting on the LVDS. (v2) X-Git-Tag: v2.6.36-rc1~540^2~11^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49be663f9952d0fc50bb0a4a75c3fd201e40ec59;p=pandora-kernel.git drm/i915: Refactor panel fitting on the LVDS. (v2) Move the common routines into separate functions to not only increase readability, but also throwaway surplus code. In doing so, we review the calculation of the aspect preserving scaling and avoid the use of fixed-point until we need to calculate the accurate scale factor. v2: Improve comments as suggested by Jesse. 1 files changed, 105 insertions(+), 194 deletions(-) Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Eric Anholt --- Reading git-diff-tree failed