An error occurred fetching the project authors.
  1. 27 Aug, 2014 1 commit
  2. 05 Aug, 2014 3 commits
    • Mario Kleiner's avatar
      drm/radeon: Use pflip irqs for pageflip completion if possible. (v2) · 39dc5454
      Mario Kleiner authored
      Skip the "manual" pageflip completion checks via polling and
      guessing in the vblank handler radeon_crtc_handle_vblank() on
      asics which are known to reliably support hw pageflip completion
      irqs. Those pflip irqs are a more reliable and race-free method
      of handling pageflip completion detection, whereas the "classic"
      polling method has some small races in combination with dpm on,
      and with the reworked pageflip implementation since Linux 3.16.
      
      On old asics without pflip irqs, the classic method is used.
      
      On asics with known good pflip irqs, only pflip irqs are used
      by default, but a new module parameter "use_pflipirqs" allows to
      override this in case we encounter asics in the wild with
      unreliable or faulty pflip irqs. A module parameter of 0 allows
      to use the classic method only in such a case. A parameter of 1
      allows to use both classic method and pflip irqs as additional
      band-aid to avoid some small races which could happen with the
      classic method alone. The setting 1 gives Linux 3.16 behaviour.
      
      Hw pflip irqs are available since R600.
      
      Tested on DCE-4, AMD Cedar - FirePro 2270.
      
      v2:  agd5f: only enable pflip interrupts on DCE4+ as they are not
      reliable on older asics.
      Signed-off-by: default avatarMario Kleiner <mario.kleiner.de@gmail.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      39dc5454
    • Alex Deucher's avatar
      drm/radeon: use a fetch function to get the edid · 377bd8a9
      Alex Deucher authored
      We keep a cached version of the edid in radeon_connector which
      we use for determining connectedness and when to enable certain
      features like hdmi audio, etc.  When the user uses the firmware
      interface to override the driver with some other edid the driver's
      copy is never updated.  The fetch function will check if there
      is a user supplied edid and update the driver's copy if there
      is.
      
      bug:
      https://bugs.freedesktop.org/show_bug.cgi?id=80691Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      377bd8a9
    • Alex Deucher's avatar
      drm/radeon: restructure edid fetching · 72a5c970
      Alex Deucher authored
      Split radeon_ddc_get_modes() and move it into
      radeon_connectors.c since that is the only place
      that uses it.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      72a5c970
  3. 17 Jul, 2014 6 commits
  4. 01 Jul, 2014 1 commit
  5. 18 Jun, 2014 2 commits
  6. 13 Jun, 2014 1 commit
  7. 10 Jun, 2014 1 commit
  8. 04 Jun, 2014 3 commits
  9. 02 Jun, 2014 5 commits
  10. 30 May, 2014 1 commit
  11. 20 May, 2014 1 commit
  12. 06 May, 2014 1 commit
  13. 01 May, 2014 2 commits
  14. 20 Apr, 2014 1 commit
  15. 19 Apr, 2014 1 commit
  16. 17 Apr, 2014 2 commits
  17. 08 Apr, 2014 1 commit
  18. 03 Apr, 2014 2 commits
  19. 02 Apr, 2014 1 commit
    • Matt Roper's avatar
      drm: Replace crtc fb with primary plane fb (v3) · f4510a27
      Matt Roper authored
      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: default avatarMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      f4510a27
  20. 18 Feb, 2014 1 commit
  21. 20 Jan, 2014 2 commits
  22. 24 Dec, 2013 1 commit
    • Alex Deucher's avatar
      drm/radeon/pm: move pm handling into the asic specific code · 6c7bccea
      Alex Deucher authored
      We need more control over the ordering of dpm init with
      respect to the rest of the asic.  Specifically, the SMC
      has to be initialized before the rlc and cg/pg.  The pm
      code currently initializes late in the driver, but we need
      it to happen much earlier so move pm handling into the asic
      specific callbacks.
      
      This makes dpm more reliable and makes clockgating work
      properly on CIK parts and should help on SI parts as well.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      6c7bccea