1. 04 11月, 2010 3 次提交
  2. 02 11月, 2010 3 次提交
  3. 01 11月, 2010 2 次提交
  4. 29 10月, 2010 1 次提交
  5. 28 10月, 2010 1 次提交
  6. 27 10月, 2010 4 次提交
  7. 26 10月, 2010 8 次提交
  8. 25 10月, 2010 2 次提交
  9. 23 10月, 2010 2 次提交
  10. 22 10月, 2010 8 次提交
  11. 21 10月, 2010 4 次提交
    • A
      BKL: introduce CONFIG_BKL. · 6de5bd12
      Arnd Bergmann 提交于
      With all the patches we have queued in the BKL removal tree, only a
      few dozen modules are left that actually rely on the BKL, and even
      there are lots of low-hanging fruit. We need to decide what to do
      about them, this patch illustrates one of the options:
      
      Every user of the BKL is marked as 'depends on BKL' in Kconfig,
      and the CONFIG_BKL becomes a user-visible option. If it gets
      disabled, no BKL using module can be built any more and the BKL
      code itself is compiled out.
      
      The one exception is file locking, which is practically always
      enabled and does a 'select BKL' instead. This effectively forces
      CONFIG_BKL to be enabled until we have solved the fs/lockd
      mess and can apply the patch that removes the BKL from fs/locks.c.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      6de5bd12
    • T
      drm/ttm: Optimize delayed buffer destruction · e1efc9b6
      Thomas Hellstrom 提交于
      This commit replaces the ttm_bo_cleanup_ref function with two new functions.
      One for the case where the bo is not yet on the delayed destroy list, and
      one for the case where the bo was on the delayed destroy list, at least at
      the time of call. This makes it possible to optimize the two cases somewhat.
      
      It also enables the possibility to directly destroy buffers on the
      delayed delete list when they are about to be evicted or swapped out.
      Currently they were only evicted / swapped and destruction was left for the
      delayed buffer destruction thread.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e1efc9b6
    • T
      drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function · 40d857bb
      Thomas Hellstrom 提交于
      Release the lru spinlock early.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      40d857bb
    • C
      drm/i915: Copy the updated reloc->presumed_offset back to the user · b5dc608c
      Chris Wilson 提交于
      If the userspace driver is using a constant relocation array with a
      static buffer, they will pass the same relocation array back to the
      kernel. So we *do* need to update the presumed offset value in those
      relocations to reflect the current object so that they remain correct
      with future batchbuffers and we avoid the necessity of having to suspend
      execution and perform redundant relocations.
      
      Fixes the regression introduced by 12f889c for applications using
      absolute addressing on trees of buffer (i.e. the current consumers of
      libdrm_intel.so).
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30996Reported-by: NWang, Jinjin <jinjin.wang@intel.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      b5dc608c
  12. 20 10月, 2010 2 次提交