1. 21 12月, 2011 2 次提交
  2. 06 12月, 2011 1 次提交
  3. 11 11月, 2011 1 次提交
  4. 18 10月, 2011 1 次提交
  5. 10 10月, 2011 2 次提交
    • A
      drm/radeon/kms: set DMA mask properly on newer PCI asics · 005a83f1
      Alex Deucher 提交于
      If a card wasn't PCIE, we always set the DMA mask to 32 bits.
      This is only applies to the old rage128/r1xx gart block on
      early radeon asics (~r1xx-r4xx).  Newer PCI and IGP cards
      can handle 40 bits just fine.
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: Chen Jie <chenj@lemote.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      005a83f1
    • M
      DRM: bug: RADEON_DEBUGFS_MAX_{NUM_FILES => COMPONENTS} · c245cb9e
      Michael Witten 提交于
      The value of RADEON_DEBUGFS_MAX_NUM_FILES has been used to
      specify the size of an array, each element of which looks
      like this:
      
        struct radeon_debugfs {
                struct drm_info_list    *files;
                unsigned                num_files;
        };
      
      Consequently, the number of debugfs files may be much greater
      than RADEON_DEBUGFS_MAX_NUM_FILES, something that the current
      code ignores:
      
        if ((_radeon_debugfs_count + nfiles) > RADEON_DEBUGFS_MAX_NUM_FILES) {
                DRM_ERROR("Reached maximum number of debugfs files.\n");
                DRM_ERROR("Report so we increase RADEON_DEBUGFS_MAX_NUM_FILES.\n");
                return -EINVAL;
        }
      
      This commit fixes this make, and accordingly renames:
      
        RADEON_DEBUGFS_MAX_NUM_FILES
      
      to:
      
        RADEON_DEBUGFS_MAX_COMPONENTS
      Signed-off-by: NMichael Witten <mfwitten@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c245cb9e
  6. 22 8月, 2011 1 次提交
  7. 12 8月, 2011 1 次提交
  8. 04 8月, 2011 1 次提交
  9. 16 6月, 2011 1 次提交
  10. 08 6月, 2011 1 次提交
  11. 02 6月, 2011 1 次提交
  12. 24 5月, 2011 1 次提交
  13. 31 3月, 2011 1 次提交
  14. 03 3月, 2011 1 次提交
  15. 23 2月, 2011 2 次提交
  16. 14 2月, 2011 1 次提交
    • D
      drm/radeon: fix race between GPU reset and TTM delayed delete thread. · 8fd1b84c
      Dave Airlie 提交于
      My evergreen has been in a remote PC for week and reset has never once
      saved me from certain doom, I finally relocated to the box with a
      serial cable and noticed an oops when the GPU resets, and the TTM
      delayed delete thread tries to remove something from the GTT.
      
      This stops the delayed delete thread from executing across the GPU
      reset handler, and woot I can GPU reset now.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8fd1b84c
  17. 26 1月, 2011 1 次提交
    • T
      console: rename acquire/release_console_sem() to console_lock/unlock() · ac751efa
      Torben Hohn 提交于
      The -rt patches change the console_semaphore to console_mutex.  As a
      result, a quite large chunk of the patches changes all
      acquire/release_console_sem() to acquire/release_console_mutex()
      
      This commit makes things use more neutral function names which dont make
      implications about the underlying lock.
      
      The only real change is the return value of console_trylock which is
      inverted from try_acquire_console_sem()
      
      This patch also paves the way to switching console_sem from a semaphore to
      a mutex.
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: make console_trylock return 1 on success, per Geert]
      Signed-off-by: NTorben Hohn <torbenh@gmx.de>
      Cc: Thomas Gleixner <tglx@tglx.de>
      Cc: Greg KH <gregkh@suse.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ac751efa
  18. 07 1月, 2011 2 次提交
  19. 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
  20. 05 1月, 2011 2 次提交
  21. 21 12月, 2010 1 次提交
  22. 16 12月, 2010 1 次提交
  23. 08 12月, 2010 1 次提交
  24. 23 11月, 2010 1 次提交
  25. 18 11月, 2010 1 次提交
  26. 06 10月, 2010 2 次提交
    • A
      drm/radeon/kms/r6xx+: use new style fencing (v3) · d0f8a854
      Alex Deucher 提交于
      On r6xx+ a newer fence mechanism was implemented to replace
      the old wait_until plus scratch regs setup.  A single EOP event
      will flush the destination caches, write a fence value, and generate
      an interrupt.  This is the recommended fence mechanism on r6xx+ asics.
      
      This requires my previous writeback patch.
      
      v2: fix typo that enabled event fence checking on all asics
      rather than just r6xx+.
      
      v3: properly enable EOP interrupts
      Should fix:
      https://bugs.freedesktop.org/show_bug.cgi?id=29972Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d0f8a854
    • A
      drm/radeon/kms: enable writeback (v2) · 724c80e1
      Alex Deucher 提交于
      When writeback is enabled, the GPU shadows writes to certain
      registers into a buffer in memory.  The driver can then read
      the values from the shadow rather than reading back from the
      register across the bus.  Writeback can be disabled by setting
      the no_wb module param to 1.
      
      On r6xx/r7xx/evergreen, the following registers are shadowed:
      - CP scratch registers
      - CP read pointer
      - IH write pointer
      On r1xx-rr5xx, the following registers are shadowed:
      - CP scratch registers
      - CP read pointer
      
      v2:
      - Combine wb patches for r6xx-evergreen and r1xx-r5xx
      - Writeback is disabled on AGP boards since it tends to be
      unreliable on AGP using the gart.
      - Check radeon_wb_init return values properly.
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      724c80e1
  27. 30 8月, 2010 1 次提交
  28. 20 8月, 2010 1 次提交
  29. 12 8月, 2010 1 次提交
  30. 02 8月, 2010 2 次提交
  31. 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
  32. 01 7月, 2010 1 次提交
  33. 03 6月, 2010 1 次提交