1. 31 8月, 2013 1 次提交
  2. 27 6月, 2013 2 次提交
  3. 22 5月, 2013 1 次提交
  4. 01 2月, 2013 1 次提交
  5. 24 1月, 2013 1 次提交
  6. 20 1月, 2013 1 次提交
    • D
      drm/<drivers>: reorder framebuffer init sequence · c7d73f6a
      Daniel Vetter 提交于
      With more fine-grained locking we can no longer rely on the big
      mode_config lock to prevent concurrent access to mode resources
      like framebuffers. Instead a framebuffer becomes accessible to
      other threads as soon as it is added to the relevant lookup
      structures. Hence it needs to be fully set up by the time drivers
      call drm_framebuffer_init.
      
      This patch here is the drivers part of that reorg. Nothing really fancy
      going on safe for three special cases.
      
      - exynos needs to be careful to properly unref all handles.
      - nouveau gets a resource leak fixed for free: one of the error
        cases didn't cleanup the framebuffer, which is now moot since
        the framebuffer is only registered once it is fully set up.
      - vmwgfx requires a slight reordering of operations, I'm hoping I didn't
        break anything (but it's refcount management only, so should be safe).
      
      v2: Split out exynos, since it's a bit more hairy than expected.
      
      v3: Drop bogus cirrus hunk noticed by Richard Wilbur.
      
      v4: Split out vmwgfx since there's a small change in return values.
      
      Reviewed-by: Rob Clark <rob@ti.com> (core + omapdrm)
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c7d73f6a
  7. 04 1月, 2013 1 次提交
  8. 14 12月, 2012 1 次提交
  9. 03 10月, 2012 1 次提交
  10. 20 7月, 2012 1 次提交
  11. 22 5月, 2012 1 次提交
  12. 17 5月, 2012 2 次提交
  13. 27 4月, 2012 1 次提交
  14. 21 3月, 2012 1 次提交
  15. 20 3月, 2012 1 次提交
  16. 07 3月, 2012 1 次提交
  17. 29 2月, 2012 1 次提交
    • F
      drm/radeon: fix deferred page-flip detection logic on Avivo-based ASICs · 81ffbbed
      Felix Kuehling 提交于
      This fixes page-flip-related flickering observed on Iconia Tab W500.
      
      The update_pending status returned by radeon_page_flip is very accurate on
      Avivo-based ASICs when vpos is negative.
      
      Experiments were conducted on several ASIC generations ranging from RS690
      to Cayman where the page flip was artificially timed to occur at a specific
      vpos. With negative vpos, overriding update_pending always lead to
      flickering.
      
      The same experiment on RV380 and RV410 showed that update_pending is not
      accurate with negative vpos. In most cases update_pending == 1 is returned
      although the flip would complete before the start of the next frame.
      Therefore I left the behaviour unchanged for pre-AVIVO ASICs for
      performance reasons, although this may result in flickering in rare cases.
      
      This change also makes the logic a little easier to understand.
      Signed-off-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Reviewed-by: NMario Kleiner <mario.kleiner@tuebingen.mpg.de>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      81ffbbed
  18. 17 2月, 2012 1 次提交
    • D
      drm: add some caps for userspace to discover more info for dumb KMS driver (v2) · 019d96cb
      Dave Airlie 提交于
      For the simple KMS driver case we need some more info about what the preferred
      depth and if a shadow framebuffer is preferred.
      
      I've only added this for intel/radeon which support the dumb ioctls so far.
      
      If you need something really fancy you should be writing a real X.org driver.
      
      v2: drop cursor information, just return an error from the cursor ioctls
      and we can make userspace fallback to sw cursor in that case, cursor
      info was getting too messy, best to start smaller.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      019d96cb
  19. 09 2月, 2012 2 次提交
  20. 25 1月, 2012 1 次提交
  21. 20 12月, 2011 1 次提交
  22. 16 11月, 2011 1 次提交
  23. 02 11月, 2011 2 次提交
  24. 14 9月, 2011 1 次提交
  25. 06 9月, 2011 1 次提交
  26. 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
  27. 14 7月, 2011 2 次提交
  28. 02 6月, 2011 1 次提交
  29. 24 5月, 2011 1 次提交
  30. 28 4月, 2011 1 次提交
  31. 31 3月, 2011 1 次提交
  32. 23 2月, 2011 2 次提交
  33. 15 2月, 2011 1 次提交
  34. 02 2月, 2011 1 次提交