diff options
author | 2009-06-22 13:17:09 +0800 | |
---|---|---|
committer | 2009-07-15 16:31:43 +1000 | |
commit | 26bbdadad356ec02d33657858d91675f3e9aca94 (patch) | |
tree | 12fe6960ac50e03d1b1cd7f352ec5e86abbe11ec /drivers/gpu/drm/drm_encoder_slave.c | |
parent | drm/mode: add the CVT algorithm in kernel space (diff) | |
download | linux-rng-26bbdadad356ec02d33657858d91675f3e9aca94.tar.xz linux-rng-26bbdadad356ec02d33657858d91675f3e9aca94.zip |
drm/mode: add the GTF algorithm in kernel space
Add the GTF 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/xf86gtf.c. What I have
done is to translate it by using integer calculation. This is to avoid
the float-point calculation in kernel space.
At the same tie I also refer to the function of fb_get_mode in
drivers/video/fbmon.c
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/drm_encoder_slave.c')
0 files changed, 0 insertions, 0 deletions