1. 09 1月, 2016 1 次提交
  2. 03 12月, 2015 1 次提交
  3. 03 10月, 2015 1 次提交
  4. 24 9月, 2015 1 次提交
  5. 09 7月, 2015 2 次提交
  6. 11 6月, 2015 1 次提交
  7. 26 5月, 2015 1 次提交
  8. 20 3月, 2015 1 次提交
  9. 23 1月, 2015 1 次提交
  10. 12 11月, 2014 1 次提交
  11. 17 10月, 2014 1 次提交
  12. 03 10月, 2014 1 次提交
  13. 23 9月, 2014 1 次提交
  14. 19 9月, 2014 1 次提交
  15. 01 9月, 2014 1 次提交
    • M
      drm/radeon: use common fence implementation for fences, v4 · 954605ca
      Maarten Lankhorst 提交于
      Changes since v1:
      - Kill the sw interrupt dance, add and use
        radeon_irq_kms_sw_irq_get_delayed instead.
      - Change custom wait function, lockdep complained about it.
        Holding exclusive_lock in the wait function might cause deadlocks.
        Instead do all the processing in .enable_signaling, and wait
        on the global fence_queue to pick up gpu resets.
      - Process all fences in radeon_gpu_reset after reset to close a race
        with the trylock in enable_signaling.
      Changes since v2:
      - Small changes to work with the rewritten lockup recovery patches.
      Changes since v3:
      - Call radeon_fence_schedule_check when exclusive_lock cannot be
        acquired to always cause a wake up.
      - Reset irqs from hangup check.
      - Drop reading seqno in the callback, use cached value.
      - Fix indentation in radeon_fence_default_wait
      - Add a radeon_test_signaled function, drop a few test_bit calls.
      - Make to_radeon_fence global.
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      954605ca
  16. 28 8月, 2014 4 次提交
  17. 19 8月, 2014 2 次提交
  18. 11 8月, 2014 1 次提交
  19. 05 8月, 2014 3 次提交
  20. 22 7月, 2014 1 次提交
  21. 14 7月, 2014 1 次提交
  22. 10 6月, 2014 2 次提交
  23. 02 6月, 2014 1 次提交
  24. 31 5月, 2014 1 次提交
    • D
      drm/radeon: Resume fbcon last · 18ee37a4
      Daniel Vetter 提交于
      So a few people complained that
      
      commit 177cf92d
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Tue Apr 1 22:14:59 2014 +0200
      
          drm/crtc-helpers: fix dpms on logic
      
      which was merged into 3.15-rc1, broke resume on radeons. Strangely git
      bisect lead everyone to
      
      commit 25f397a4
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Fri Jul 19 18:57:11 2013 +0200
      
          drm/crtc-helper: explicit DPMS on after modeset
      
      which was merged long ago and actually part of 3.14.
      
      Digging deeper I've noticed (again) that the call to
      drm_helper_resume_force_mode in the radeon resume handlers was a no-op
      previously because everything gets shut down on suspend. radeon does
      this with explicit calls to drm_helper_connector_dpms with DPMS_OFF.
      But with 177c we now force the dpms state to ON, so suddenly
      resume_force_mode actually forced the crtcs back on.
      
      This is the intention of the change after all, the problem is that
      radeon resumes the fbdev console layer _before_ restoring the display,
      through calling fb_set_suspend. And fbcon does an immediate ->set_par,
      which in turn causes the same forced mode restore to happen.
      
      Two concurrent modeset operations didn't lead to happiness. Fix this
      by delaying the fbcon resume until the end of the readeon resum
      functions.
      
      v2: Fix up a bit of the spelling fail.
      
      References: https://lkml.org/lkml/2014/5/29/1043
      References: https://lkml.org/lkml/2014/5/2/388
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=74751Tested-by: NKen Moffat <zarniwhoop@ntlworld.com>
      Cc: Alex Deucher <alexdeucher@gmail.com>
      Cc: Ken Moffat <zarniwhoop@ntlworld.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDave Airlie <airlied@gmail.com>
      18ee37a4
  25. 06 5月, 2014 1 次提交
  26. 23 4月, 2014 1 次提交
    • D
      drm: Rip out totally bogus vga_switcheroo->can_switch locking · fc8fd40e
      Daniel Vetter 提交于
      So I just wanted to add a new field to struct drm_device and
      accidentally stumbled over something. According to comments
      dev->open_count is protected by dev->count_lock, but that's totally
      not the case. It's protected by drm_global_mutex.
      
      Unfortunately the vga switcheroo callbacks took this comment at face
      value. The problem is that we can't just take the drm_global_mutex
      because:
      - It would lead to a locking inversion with the driver load/unload
        paths.
      - It wouldn't actually protect anything, for that we'd need to wrap
        the entire vga switcheroo code in the drm_global_mutex. And I'm not
        sure whether that would actually solve anything.
      
      What we probably want is a try_to_grab_switcheroo reference kind of
      thing which is used in the driver's ->open callback. Then we could
      move all that ->can_switch madness into the vga switcheroo core where
      it really belongs.
      
      But since that would amount to real work take the easy way out and
      just add a comment. It's definitely not going to make anything worse
      since doing switcheroo state changes while restarting X just isn't
      recommended. Even though the delayed switching code does exactly that.
      
      v2:
      - Simplify the ->can_switch implementations more (Thierry)
      - Fix comment about the dev->open_count locking (Thierry)
      
      Cc: Thierry Reding <treding@nvidia.com>
      Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (v1)
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      fc8fd40e
  27. 17 4月, 2014 1 次提交
  28. 03 4月, 2014 1 次提交
  29. 02 4月, 2014 1 次提交
    • M
      drm: Replace crtc fb with primary plane fb (v3) · f4510a27
      Matt Roper 提交于
      Now that CRTC's have a primary plane, there's no need to track the
      framebuffer in the CRTC.  Replace all references to the CRTC fb with the
      primary plane's fb.
      
      This patch was generated by the Coccinelle semantic patching tool using
      the following rules:
      
              @@ struct drm_crtc C; @@
              -   (C).fb
              +   C.primary->fb
      
              @@ struct drm_crtc *C; @@
              -   (C)->fb
              +   C->primary->fb
      
      v3: Generate patch via coccinelle.  Actual removal of crtc->fb has been
          moved to a subsequent patch.
      
      v2: Fixup several lingering crtc->fb instances that were missed in the
          first patch iteration.  [Rob Clark]
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      f4510a27
  30. 07 3月, 2014 1 次提交
  31. 03 3月, 2014 2 次提交