diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-18 07:05:54 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-01 22:35:17 -0400 |
commit | 49be663f9952d0fc50bb0a4a75c3fd201e40ec59 (patch) | |
tree | 368f935fe959b8eabb8480ff3660334b798af025 /crypto/sha1_generic.c | |
parent | 71677043350874c55f60dce06a03ab61e3af6e93 (diff) |
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 <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'crypto/sha1_generic.c')
0 files changed, 0 insertions, 0 deletions