1. 06 1月, 2011 1 次提交
    • T
      drm/radeon: use system_wq instead of dev_priv->wq · 32c87fca
      Tejun Heo 提交于
      With cmwq, there's no reason for radeon to use a dedicated workqueue.
      Drop dev_priv->wq and use system_wq instead.
      
      Because radeon_driver_irq_uninstall_kms() may be called from
      unsleepable context, the work items can't be flushed from there.
      Instead, init and flush from radeon_irq_kms_init/fini().
      
      While at it, simplify canceling/flushing of rdev->pm.dynpm_idle_work.
      Always initialize and sync cancel instead of being unnecessarily smart
      about it.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Acked-by: NAlex Deucher <alexdeucher@gmail.com>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      32c87fca
  2. 22 12月, 2010 1 次提交
  3. 09 12月, 2010 1 次提交
  4. 08 12月, 2010 1 次提交
  5. 23 11月, 2010 2 次提交
  6. 22 11月, 2010 2 次提交
  7. 18 11月, 2010 1 次提交
  8. 09 11月, 2010 2 次提交
  9. 26 10月, 2010 1 次提交
  10. 12 10月, 2010 2 次提交
  11. 06 10月, 2010 3 次提交
  12. 28 9月, 2010 1 次提交
  13. 24 9月, 2010 1 次提交
  14. 07 9月, 2010 1 次提交
  15. 02 9月, 2010 1 次提交
  16. 30 8月, 2010 1 次提交
  17. 02 8月, 2010 4 次提交
  18. 16 7月, 2010 1 次提交
    • A
      drm/radeon/kms: fix gtt MC base alignment on rs4xx/rs690/rs740 asics · 8d369bb1
      Alex Deucher 提交于
      The asics in question have the following requirements with regard to
      their gart setups:
      
      1. The GART aperture size has to be in the form of 2^X bytes, where X is from 25 to 31
      2. The GART aperture MC base has to be aligned to a boundary equal to the size of the
      aperture.
      3. The GART page table has to be aligned to the boundary equal to the size of the table.
      4. The GART page table size is: table_entry_size * (aperture_size / page_size)
      5. The GART page table has to be allocated in non-paged, non-cached, contiguous system
      memory.
      
      This patch takes care 2.  The rest should already be handled properly.
      
      This fixes a regression noticed by: Torsten Kaiser <just.for.lkml@googlemail.com>
      Tested-by: NTorsten Kaiser <just.for.lkml@googlemail.com>
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8d369bb1
  19. 01 7月, 2010 3 次提交
  20. 08 6月, 2010 4 次提交
  21. 03 6月, 2010 1 次提交
  22. 01 6月, 2010 1 次提交
  23. 21 5月, 2010 1 次提交
  24. 18 5月, 2010 3 次提交
    • A
      drm/radeon/kms/pm: fix r6xx+ profile setup · 4bff5171
      Alex Deucher 提交于
      This patch is a combination of the previous two profile
      patches, but without the index bugs.  It cleans up and
      fixes some issues with pm profile setup on r6xx chips.
      Some tables have different orderings for the power states,
      also, r600 only has 1 clock mode per power state. On
      desktop cards there are no battery modes, so the low and high
      power states are the same.  For the low profile case, choose
      the lower clock mode.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4bff5171
    • A
      drm/radeon/kms/pm: make pm spam debug only · ce8a3eb2
      Alex Deucher 提交于
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      ce8a3eb2
    • 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