1. 06 9月, 2011 1 次提交
  2. 18 7月, 2011 1 次提交
  3. 07 7月, 2011 1 次提交
  4. 01 7月, 2011 1 次提交
  5. 21 6月, 2011 1 次提交
  6. 13 4月, 2011 2 次提交
  7. 14 3月, 2011 1 次提交
    • D
      drm/radeon: fix problem with changing active VRAM size. (v2) · 53595338
      Dave Airlie 提交于
      So we used to use lpfn directly to restrict VRAM when we couldn't
      access the unmappable area, however this was removed in
      93225b0d as it also restricted
      the gtt placements. However it was only later noticed that this
      broke on some hw.
      
      This removes the active_vram_size, and just explicitly sets it
      when it changes, TTM/drm_mm will always use the real_vram_size,
      and the active vram size will change the TTM size used for lpfn
      setting.
      
      We should re-work the fpfn/lpfn to per-placement at some point
      I suspect, but that is too late for this kernel.
      
      Hopefully this addresses:
      https://bugs.freedesktop.org/show_bug.cgi?id=35254
      
      v2: fix reported useful VRAM size to userspace to be correct.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      53595338
  8. 23 2月, 2011 1 次提交
  9. 17 2月, 2011 1 次提交
  10. 14 2月, 2011 1 次提交
  11. 02 2月, 2011 1 次提交
  12. 17 1月, 2011 2 次提交
  13. 07 1月, 2011 1 次提交
  14. 16 12月, 2010 1 次提交
  15. 23 11月, 2010 3 次提交
  16. 22 11月, 2010 1 次提交
  17. 18 11月, 2010 1 次提交
  18. 26 10月, 2010 1 次提交
  19. 12 10月, 2010 1 次提交
    • J
      drm/radeon/kms: avoid corner case issue with unmappable vram V2 · c919b371
      Jerome Glisse 提交于
      We should not allocate any object into unmappable vram if we
      have no means to access them which on all GPU means having the
      CP running and on newer GPU having the blit utility working.
      
      This patch limit the vram allocation to visible vram until
      we have acceleration up and running.
      
      Note that it's more than unlikely that we run into any issue
      related to that as when acceleration is not woring userspace
      should allocate any object in vram beside front buffer which
      should fit in visible vram.
      
      V2 use real_vram_size as mc_vram_size could be bigger than
         the actual amount of vram
      
      [airlied: fixup r700_cp_stop case]
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c919b371
  20. 06 10月, 2010 2 次提交
  21. 02 9月, 2010 1 次提交
  22. 30 8月, 2010 1 次提交
  23. 02 8月, 2010 3 次提交
  24. 01 7月, 2010 1 次提交
  25. 08 6月, 2010 3 次提交
  26. 03 6月, 2010 1 次提交
  27. 01 6月, 2010 1 次提交
  28. 18 5月, 2010 2 次提交
    • A
      drm/radeon/kms/pm: rework power management · ce8f5370
      Alex Deucher 提交于
      - Separate dynpm and profile based power management methods.  You can select the pm method
        by echoing the selected method ("dynpm" or "profile") to power_method in sysfs.
      - Expose basic 4 profile in profile method
        "default" - default clocks
        "auto" - select between low and high based on ac/dc state
        "low" - DC, low power mode
        "high" - AC, performance mode
        The current base profile is "default", but it should switched to "auto" once we've tested
        on more systems.  Switching the state is a matter of echoing the requested profile to
        power_profile in sysfs.  The lowest power states are selected automatically when dpms turns
        the monitors off in all states but default.
      - Remove dynamic fence-based reclocking for the moment.  We can revisit this later once we
        have basic pm in.
      - Move pm init/fini to modesetting path.  pm is tightly coupled with display state.  Make sure
        display side is initialized before pm.
      - Add pm suspend/resume functions to make sure pm state is properly reinitialized on resume.
      - Remove dynpm module option.  It's now selectable via sysfs.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      ce8f5370
    • A
      drm/radeon/kms/pm: add additional asic callbacks · 49e02b73
      Alex Deucher 提交于
      - pm_misc() - handles voltage, pcie lanes, and other non
      clock related power mode settings.  Currently disabled.
      Needs further debugging
      
      - pm_prepare() - disables crtc mem requests right now.
      All memory clients need to be disabled when changing
      memory clocks.  This function can be expanded to include
      disabling fb access as well.
      
      - pm_finish() - enable active memory clients.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      49e02b73
  29. 20 4月, 2010 1 次提交
  30. 09 4月, 2010 1 次提交