1. 11 7月, 2007 2 次提交
  2. 28 6月, 2007 1 次提交
  3. 17 6月, 2007 1 次提交
    • D
      fix radeon setparam on 32/64 systems, harder. · f4d27817
      David Woodhouse 提交于
      Commit 9b01bd5b introduced a
      compat_ioctl handler for RADEON_SETPARAM, the sole purpose of which was
      to handle the fact that on i386, alignof(uint64_t)==4.
      
      Unfortunately, this handler was installed for _all_ 64-bit
      architectures, instead of only x86_64 and ia64.  And thus it breaks
      32-bit compatibility on every other arch, where 64-bit integers are
      aligned to 8 bytes in 32-bit mode just the same as in 64-bit mode.
      
      Arnd has a cunning plan to use 'compat_u64' with appropriate alignment
      attributes according to the 32-bit ABI, but for now let's just make the
      compat_radeon_cp_setparam routine entirely disappear on 64-bit machines
      whose 32-bit compat support isn't for i386.  It would be a no-op with
      compat_u64 anyway.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Dave Airlie <airlied@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f4d27817
  4. 10 6月, 2007 3 次提交
  5. 29 5月, 2007 1 次提交
  6. 26 5月, 2007 3 次提交
  7. 09 5月, 2007 1 次提交
  8. 08 5月, 2007 6 次提交
  9. 26 4月, 2007 1 次提交
  10. 27 3月, 2007 1 次提交
  11. 24 3月, 2007 3 次提交
  12. 23 3月, 2007 1 次提交
    • T
      drm: fix driver deadlock with AIGLX and reclaim_buffers_locked · 040ac320
      Thomas Hellstrom 提交于
      Bugzilla Bug #9457
      
      Add refcounting of user waiters to the DRM hardware lock, so that we can use
      DRM_LOCK_CONT flag more conservatively.
      
      Also add a kernel waiter refcount that if nonzero transfers the lock for the
      kernel context when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      040ac320
  13. 19 3月, 2007 2 次提交
  14. 11 3月, 2007 13 次提交
  15. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a