diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-06-22 07:17:08 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-07-15 08:29:33 +0200 |
commit | d782c3f95c9263dc0b98e7115f75f1e18b9600b3 (patch) | |
tree | e58d950cfa9b9a3a0c52e0f91a08b00cb2be8421 /init | |
parent | Merge branch 'i2c-for-2631-rc3' of git://aeryn.fluff.org.uk/bjdooks/linux (diff) | |
download | linux-d782c3f95c9263dc0b98e7115f75f1e18b9600b3.tar.xz linux-d782c3f95c9263dc0b98e7115f75f1e18b9600b3.zip |
drm/mode: add the CVT algorithm in kernel space
Add the CVT algorithm in kernel space. And this function can be called to
generate the required modeline.
I copied it from the file of xserver/hw/xfree86/modes/xf86cvt.c. What I have
done is to translate it by using integer calculation. This is to avoid
the float-point calculation in kernel space.
[airlied:- cleaned up some bits]
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions