1. 15 1月, 2010 1 次提交
  2. 07 1月, 2010 2 次提交
  3. 23 12月, 2009 1 次提交
  4. 04 12月, 2009 3 次提交
  5. 24 11月, 2009 4 次提交
  6. 28 10月, 2009 1 次提交
  7. 16 10月, 2009 1 次提交
  8. 25 9月, 2009 1 次提交
    • D
      drm/kms: start adding command line interface using fb. · d50ba256
      Dave Airlie 提交于
      [note this requires an fb patch posted to linux-fbdev-devel already]
      
      This uses the normal video= command line option to control the kms
      output setup at boot time. It is used to override the autodetection
      done by kms.
      
      video= normally takes a framebuffer as the first parameter, in kms
      it will take a connector name, DVI-I-1, or LVDS-1 etc. If no output
      connector is specified the mode string will apply to all connectors.
      
      The mode specification used will match down the probed modes, and if
      no mode is found it will add a CVT mode that matches.
      
      video=1024x768 - all connectors match a 1024x768 mode or add a CVT on
      video=VGA-1:1024x768, VGA-1 connector gets mode only.
      
      The same strings as used in current fb modedb.c are used, except I've
      added three more letters, e, D, d, e = enable, D = enable Digital,
      d = disable, which allow a connector to be forced into a certain state.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d50ba256
  9. 24 9月, 2009 4 次提交
  10. 08 9月, 2009 1 次提交
  11. 07 9月, 2009 3 次提交
    • Z
      drm/kms: add a function that can add the mode for the output device without EDID · f0fda0a4
      Zhao Yakui 提交于
      Add a function that can be used to add the default mode for the output device
      without EDID.
      It will add the default mode that meets with the requirements of given
      hdisplay/vdisplay limit.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f0fda0a4
    • Z
      drm/kms: try to find the std mode in DMT table · 559ee21d
      Zhao Yakui 提交于
      When we need to add the standard timing mode, we will firstly check whether it
      can be found in DMT table by comparing the hdisplay/vdisplay/vfresh_rate.
      If it can't be found, then we will use the cvt/gtf to add the required mode.
      If it can be found, it will be returned.
      
      At the same time the function of drm_mode_vrefresh is also fixed. It will
      return the result of actual refresh_rate plus 0.5.
      For example:
      When the calculated value is 84.9, then the fresh_rate is 85.
      When the calculated value is 70.02, then the fresh_rate is 70.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      559ee21d
    • Z
      drm/kms: Add the default mode table · aa9eaa1f
      Zhao Yakui 提交于
      When we add a standard timing mode in UMS, we will first check whether it can
      be found in default mode table. If it can't be found, then we will use cvt/gtf
      to add the standard timing mode.
      Add the default mode table so that we can check whether the given mode
      can be found in the default mode table as what we have done in UMS mode.
      
      If the status of one output device is connected but there is no EDID, it will
      have no correct mode. In such case we can add some default modes for it. Of
      course we only add the modes in the default modes list that visible part is not
      greater than 1024x768.
      
      The default mode is autogenerated from the DMT spec. And it is copied from
      xserver/hw/xfree86/modes/xf86EdidModes.c. But the mode with reduced blank
      feature is removed.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      aa9eaa1f
  12. 31 8月, 2009 1 次提交
    • Z
      drm/kms: Parse the detailed time info in CEA-EDID · 882f0219
      Zhao Yakui 提交于
      Sometimes we can obtain the EDID with multiple blocks from the display device.
      For example: HDMI monitor.
      When the CEA-EDID block is detected, we should also parse the detailed timing
      info from it. Otherwise we will lose some modes for the display device.
      
      The first step is check whether the CEA EDID block is found. If it exists,
      it will skip the CEA-data block and parse the detailed timing info.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      882f0219
  13. 15 8月, 2009 1 次提交
  14. 15 7月, 2009 1 次提交
    • 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
  15. 24 6月, 2009 1 次提交
  16. 19 6月, 2009 1 次提交
  17. 12 6月, 2009 1 次提交
  18. 04 6月, 2009 1 次提交
  19. 03 4月, 2009 2 次提交
  20. 29 3月, 2009 2 次提交
    • M
      drm: detect hdmi monitor by hdmi identifier (v3) · f23c20c8
      Ma Ling 提交于
      Sometime we need to communicate with HDMI monitor by sending audio or video
      info frame, so we have to know monitor type. However if user utilize HDMI-DVI adapter to connect DVI monitor, hardware detection will incorrectly show the monitor is HDMI. HDMI spec tell us that any device containing IEEE registration Identifier will be treated as HDMI device.  The patch intends to detect HDMI monitor by this rule.
      Signed-off-by: NMa Ling <ling.ma@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f23c20c8
    • M
      drm: read EDID extensions from monitor · 167f3a04
      Ma Ling 提交于
      Usually drm read basic EDID, that is enough for us, but since igital display
      were introduced i.e. HDMI monitor, sometime we need to interact with monitor by
      EDID extension information,
      
      EDID extensions include audio/video data block, speaker allocation and vendor specific data blocks.
      
      This patch intends to read EDID extensions from digital monitor for users.
      Signed-off-by: NMa Ling <ling.ma@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      167f3a04
  21. 25 2月, 2009 2 次提交
  22. 22 1月, 2009 1 次提交
  23. 29 12月, 2008 2 次提交
    • D
      drm: fix useless gcc unused variable warning · f890607b
      Dave Airlie 提交于
      the calling function doesn't call this function unless one of the two
      states that sets the value is true.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f890607b
    • D
      DRM: add mode setting support · f453ba04
      Dave Airlie 提交于
      Add mode setting support to the DRM layer.
      
      This is a fairly big chunk of work that allows DRM drivers to provide
      full output control and configuration capabilities to userspace.  It was
      motivated by several factors:
        - the fb layer's APIs aren't suited for anything but simple
          configurations
        - coordination between the fb layer, DRM layer, and various userspace
          drivers is poor to non-existent (radeonfb excepted)
        - user level mode setting drivers makes displaying panic & oops
          messages more difficult
        - suspend/resume of graphics state is possible in many more
          configurations with kernel level support
      
      This commit just adds the core DRM part of the mode setting APIs.
      Driver specific commits using these new structure and APIs will follow.
      
      Co-authors: Jesse Barnes <jbarnes@virtuousgeek.org>, Jakob Bornecrantz <jakob@tungstengraphics.com>
      Contributors: Alan Hourihane <alanh@tungstengraphics.com>, Maarten Maathuis <madman2003@gmail.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f453ba04