1. 15 7月, 2009 3 次提交
    • Z
      drm/mode: get the modeline for standard timing in EDID by using CVT/GTF · 5c61259e
      Zhao Yakui 提交于
      Create the standard timing modeline by using CVT/GFT algorithm while
      interpreting the EDID.
      
      In course of interpreting the EDID, the timing level will be obtained,
      which is used to determine whether the CVT/GTF algorithm is selected to
      generate the modeline for the given hdisplay/vdisplay/vrefresh_rate.
      In the UMS mode firstly it will check whether it can be found in
      the DMT table. If it can be found, then the modeline is returned. Then the
      timing_level is used to choose CVT/GTF.
      As there is no DMT table, no modeline is returned when timing level
      is DMT. For the other two timing levels, the CVT/GTF will be called to
      generate the required standard timing modeline.
      
      [airlied: fixed up conflicts since EDID rework]
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      5c61259e
    • Z
      drm/mode: add the GTF algorithm in kernel space · 26bbdada
      Zhao Yakui 提交于
      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: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      26bbdada
    • Z
      drm/mode: add the CVT algorithm in kernel space · d782c3f9
      Zhao Yakui 提交于
      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: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      d782c3f9
  2. 11 7月, 2009 8 次提交
  3. 10 7月, 2009 1 次提交
  4. 08 7月, 2009 6 次提交
  5. 03 7月, 2009 1 次提交
  6. 02 7月, 2009 6 次提交
  7. 24 6月, 2009 8 次提交
  8. 23 6月, 2009 7 次提交