1. 04 8月, 2011 1 次提交
    • T
      drm/radeon: Extended DDC Probing for Connectors with Improperly Wired DDC... · e384fab8
      Thomas Reim 提交于
      drm/radeon: Extended DDC Probing for Connectors with Improperly Wired DDC Lines (here: Asus M2A-VM HDMI)
      
          Some integrated ATI Radeon chipset implementations with add-on HDMI card
          (e. g. Asus M2A-VM HDMI) indicate the availability of a DDC even
          when the add-on card is not plugged in or HDMI is disabled in BIOS setup.
          In this case, drm_get_edid() and drm_edid_block_valid() periodically
          dump data and kernel errors into system log files and onto terminals.
          For these connectors DDC probing is extended by a check for a correct
          EDID header. Only in case a valid EDID header is also found, the
          (HDMI or DVI) connector will be used by the Radeon driver. This prevents
          the kernel driver from useless flooding of logs and terminal sessions with
          EDID dumps and error messages.
          This patch adds a flag 'requires_extended_probe' to the radeon_connector
          structure. In function radeon_connector_needs_extended_probe() this flag
          can be set on a chipset family/vendor/connector type specific basis.
          In addition, function radeon_ddc_probe() has been adapted to perform
          extended DDC probing if required by the connector's flag.
          Requires function drm_edid_header_is_valid() in DRM module provided by
          [PATCH] drm: Separate EDID Header Check from EDID Block Check.
      
          Tested for kernel 2.6.35, 2.6.38 and 3.0 on Asus M2A-VM HDMI board
      
          BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=668196
          BugLink: http://bugs.launchpad.net/bugs/7228066
      
      Cc: <stable@kernel.org>
      Signed-off-by: NThomas Reim <reimth@gmail.com>
      Reviewed-by: NAlex Deucher <alexdeucher@gmail.com>
      Acked-by: NStephen Michaels <Stephen.Micheals@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e384fab8
  2. 12 7月, 2011 1 次提交
  3. 17 6月, 2011 3 次提交
  4. 16 6月, 2011 1 次提交
  5. 09 6月, 2011 1 次提交
  6. 20 5月, 2011 8 次提交
  7. 15 4月, 2011 1 次提交
  8. 24 3月, 2011 1 次提交
    • A
      drm/radeon/kms: fix hardcoded EDID handling · fafcf94e
      Alex Deucher 提交于
      On some servers there is a hardcoded EDID provided
      in the vbios so that the driver will always see a
      display connected even if something like a KVM
      prevents traditional means like DDC or load
      detection from working properly.  Also most
      server boards with DVI are not actually DVI, but
      DVO connected to a virtual KVM service processor.
      If we fail to detect a monitor via DDC or load
      detection and a hardcoded EDID is available, use
      it.
      
      Additionally, when using the hardcoded EDID, use
      a copy of it rather than the actual one stored
      in the driver as the detect() and get_modes()
      functions may free it if DDC is successful.
      
      This fixes the virtual KVM on several internal
      servers.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      fafcf94e
  9. 23 3月, 2011 1 次提交
  10. 03 3月, 2011 1 次提交
  11. 10 1月, 2011 1 次提交
    • A
      drm/radeon/kms: disable underscan by default · 56bec7c0
      Alex Deucher 提交于
      Lots of HDMI TVs overscan the incoming image by default.
      The underscan option was added as a way to compensate for
      that by underscanning the image so that the edges would
      not be cut off on an overscanning TV.  However, the TV
      provides no way of knowing whether it is overscanning or
      not.  If the user has disabled overscan on their TV or has a
      TV that does not overscan, you will get black bars around the
      edges of your screen.  Prior to the patch we got complaints
      and bug reports from users with overscanning TVs, now with
      the patch, we get lots of complaints and bug reports from
      users with non-overscanning TVs.  There's no good default,
      but on average there have been more users complaining about
      it being on by default than off, so change it to off.  This
      will probably result in a new deluge of overscanning TV user
      complaints.  There's no winning.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      56bec7c0
  12. 21 12月, 2010 1 次提交
  13. 01 12月, 2010 1 次提交
  14. 18 11月, 2010 1 次提交
  15. 09 11月, 2010 2 次提交
  16. 26 10月, 2010 1 次提交
  17. 06 10月, 2010 1 次提交
  18. 14 9月, 2010 1 次提交
  19. 13 9月, 2010 1 次提交
  20. 02 9月, 2010 1 次提交
  21. 27 8月, 2010 1 次提交
  22. 20 8月, 2010 2 次提交
  23. 10 8月, 2010 2 次提交
  24. 05 8月, 2010 1 次提交
  25. 04 8月, 2010 1 次提交
  26. 02 8月, 2010 2 次提交
  27. 21 7月, 2010 1 次提交
    • A
      drm/radeon/kms: fix shared ddc harder · 42f14c4b
      Alex Deucher 提交于
      This fixes a regression caused by b2ea4aa6
      due to the way shared ddc with multiple digital connectors was handled.
      
      You generally have two cases where DDC lines are shared:
      - HDMI + VGA
      - HDMI + DVI-D
      
      HDMI + VGA is easy to deal with because you can check the EDID for the
      to see if the attached monitor is digital.  A shared DDC line with two
      digital connectors is more complex.  You can't use the hdmi bits in the
      EDID since they may not be there with DVI<->HDMI adapters.  In this case
      all we can do is check the HPD pins to see which is connected as we have
      no way of knowing using the EDID.
      
      Reported-by: trapdoor6@gmail.com
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      42f14c4b