1. 08 12月, 2012 1 次提交
  2. 28 11月, 2012 1 次提交
    • J
      radeon: fix pll/ctrc mapping on dce2 and dce3 hardware · fc58acdb
      Jerome Glisse 提交于
      This fix black screen on resume issue that some people are
      experiencing. There is a bug in the atombios code regarding
      pll/crtc mapping. The atombios code reverse the logic for
      the pll and crtc mapping.
      
      agd5f: drop unnecessary crtc id check, cc stable in case
      we miss 3.7.
      
      This fixes the root cause that was worked around by commits:
      drm/radeon: allocate PPLLs from low to high
      drm/radeon/dce3: switch back to old pll allocation order for discrete
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      fc58acdb
  3. 07 11月, 2012 1 次提交
  4. 16 10月, 2012 1 次提交
  5. 27 9月, 2012 2 次提交
    • A
      drm/radeon: validate PPLL in crtc fixup · c0fd0834
      Alex Deucher 提交于
      This allows us to bail if we can't support the requested
      setup from a PPLL perspective.  Prevents broken setups
      from being attempted.
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c0fd0834
    • A
      drm/radeon: work around KMS modeset limitations in PLL allocation (v2) · 57b35e29
      Alex Deucher 提交于
      Since the current KMS API sets the mode independantly on
      each crtc, we may end up with resource conflicts.  The PLL
      allocation is one of those cases.  In the following example
      we have 3 crtcs in use driving 2 DVI connectors and 1 DP
      connector.  On the initial kernel modeset for fbdev, the
      display topology ends up as follows:
      
      crtc0 -> DP-0
      crtc1 -> DVI-0
      crtc2 -> DVI-1
      
      Because this is the first modeset, all of the PLLs are
      available as none have been assigned.  So we end up with
      the following:
      
      crtc0 uses DCPLL
      crtc1 uses PPLL2
      crtc2 uses PPLL1
      
      When X starts, it assigns a different topology:
      
      crtc0 -> DVI-0
      crtc1 -> DP-0
      crtc2 -> DVI-1
      
      However, since the KMS API is per crtc, we set the mode on each
      crtc independantly.  When it comes time to set the mode on crtc0,
      the topology for crtc1 and crtc2 are still intact.  crtc1 and
      crtc2 are already assigned PPLL2 and PPLL1 so when it comes time
      to set the mode on crtc0, crtc1 and crtc2 have not been torn down
      yet, so there appears to be no PLLs available.  In reality, we
      are reconfiguring the entire display topology, however, since
      each crtc is handled independantly, we don't know that in the
      driver at each crtc mode set time.
      
      This patch checks to see if the same connector is being driven by
      another crtc, and if so, uses the PLL already associated with it.
      
      v2: store connector in the radeon crtc struct, simplify checking.
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      57b35e29
  6. 21 9月, 2012 7 次提交
  7. 18 9月, 2012 1 次提交
  8. 14 9月, 2012 1 次提交
  9. 30 8月, 2012 2 次提交
  10. 22 8月, 2012 1 次提交
  11. 20 8月, 2012 1 次提交
  12. 13 8月, 2012 2 次提交
  13. 20 7月, 2012 1 次提交
  14. 18 7月, 2012 2 次提交
  15. 21 6月, 2012 1 次提交
  16. 28 4月, 2012 1 次提交
  17. 27 4月, 2012 1 次提交
  18. 24 4月, 2012 1 次提交
  19. 26 3月, 2012 1 次提交
  20. 21 3月, 2012 7 次提交
  21. 13 2月, 2012 1 次提交
    • J
      drm/radeon: add support for evergreen/ni tiling informations v11 · 285484e2
      Jerome Glisse 提交于
      evergreen and northern island gpu needs more informations for 2D tiling
      than previous r6xx/r7xx. Add field to tiling ioctl to allow userspace
      to provide those.
      
      The v8 cs checking change to track color view on r6xx/r7xx doesn't
      affect old userspace as old userspace always emited 0 for this register.
      
      v2 fix r6xx/r7xx 2D tiling computation
      v3 fix r6xx/r7xx height align for untiled surface & add support for
         tile split on evergreen and newer
      v4 improve tiling debugging output
      v5 fix tile split code for evergreen and newer
      v6 set proper tile split for crtc register
      v7 fix tile split limit value
      v8 add COLOR_VIEW checking to r6xx/r7xx checker, add evergreen cs
         checking, update safe reg for r600, evergreen and cayman.
         Evergreen checking need some work around for stencil alignment
         issues
      v9 fix tile split value range, fix compressed texture handling and
         mipmap calculation, allow evergreen check to be silencious in
         front of current broken userspace (depth/stencil alignment issue)
      v10 fix eg 3d texture and compressed texture, fix r600 depth array,
          fix r600 color view computation, add support for evergreen stencil
          split
      v11 more verbose debugging in some case
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      285484e2
  22. 01 2月, 2012 1 次提交
  23. 25 1月, 2012 2 次提交