1. 11 11月, 2005 8 次提交
  2. 10 11月, 2005 2 次提交
    • D
      drm: remove drm_init.c it is no longer needed · 3f9df54d
      Dave Airlie 提交于
      Move drm_cpu_valid into drm_fops.c
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      3f9df54d
    • D
      drm: rename driver hooks more understandably · 22eae947
      Dave Airlie 提交于
      Rename the driver hooks in the DRM to something a little more understandable:
      preinit         ->      load
      postinit        ->      (removed)
      presetup        ->      firstopen
      postsetup       ->      (removed)
      open_helper     ->      open
      prerelease      ->      preclose
      free_filp_priv  ->      postclose
      pretakedown     ->      lastclose
      postcleanup     ->      unload
      release         ->      reclaim_buffers_locked
      version         ->      (removed)
      
      postinit and version were replaced with generic code in the Linux DRM (drivers
      now set their version numbers and description in the driver structure, like on
      BSD).  postsetup wasn't used at all.  Fixes the savage hooks for
      initializing and tearing down mappings at the right times.  Testing involved at
      least starting X, running glxgears, killing glxgears, exiting X, and repeating.
      
      Tested on:      FreeBSD (g200, g400, r200, r128)
                      Linux (r200, savage4)
      
      From: Eric Anholt <anholt@freebsd.org>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      22eae947
  3. 09 11月, 2005 1 次提交
  4. 07 11月, 2005 1 次提交
  5. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  6. 27 10月, 2005 1 次提交
  7. 24 10月, 2005 2 次提交
  8. 22 10月, 2005 2 次提交
  9. 20 10月, 2005 1 次提交
  10. 05 10月, 2005 1 次提交
  11. 30 9月, 2005 3 次提交
  12. 29 9月, 2005 1 次提交
  13. 25 9月, 2005 4 次提交
  14. 11 9月, 2005 3 次提交
  15. 09 9月, 2005 1 次提交
  16. 05 9月, 2005 3 次提交
  17. 23 8月, 2005 1 次提交
    • D
      drm: fix a bad VERSION check. · 7a9aff3c
      Dave Airlie 提交于
      I found why my G5 was crashing when using the linux-2.6 version of the
      DRM + git-drm.patch from 2.6.13-rc6-mm1, but not with the CVS DRM.
      The reason was that dev->agp->cant_use_aperture wasn't getting set,
      and the reason for that was that <linux/version.h> no longer gets
      included and the #if LINUX_VERSION_CODE < 0x020408 in drm_agpsupport.c
      was going the wrong way.  With this patch (and a few others) a 32-bit
      server works correctly, as does DRI.
      
      From: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      7a9aff3c
  18. 20 8月, 2005 2 次提交
  19. 16 8月, 2005 2 次提交