1. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c0e09200
  2. 07 2月, 2008 3 次提交
  3. 15 10月, 2007 3 次提交
  4. 11 7月, 2007 6 次提交
  5. 11 11月, 2005 1 次提交
  6. 10 11月, 2005 1 次提交
    • 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
  7. 20 10月, 2005 1 次提交
  8. 25 9月, 2005 1 次提交
    • D
      drm: lindent the drm directory. · b5e89ed5
      Dave Airlie 提交于
      I've been threatening this for a while, so no point hanging around.
      This lindents the DRM code which was always really bad in tabbing department.
      I've also fixed some misnamed files in comments and removed some trailing
      whitespace.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      b5e89ed5
  9. 05 9月, 2005 1 次提交
  10. 05 8月, 2005 1 次提交
    • D
      drm: updated DRM map patch for 32/64 bit systems · d1f2b55a
      Dave Airlie 提交于
      I basically combined Paul's patches with additions that I had made
      for PCI scatter gather.
      I also tried more carefully to avoid problems with the same token
      assigned multiple times while trying to use the base address in the
      token if possible to gain as much backward compatibility as possible
      for broken DRI clients.
      
      From: Paul Mackerras <paulus@samba.org> and Egbert Eich <eich@suse.de>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      d1f2b55a
  11. 10 7月, 2005 1 次提交
    • D
      Add support for PCI MGA cards to MGA DRM. · 6795c985
      Dave Airlie 提交于
      This patch adds serveral new ioctls and a new query to get_param query to
      support PCI MGA cards.
      
      Two ioctls were added to implement interrupt based waiting.  With this change,
      the client-side driver no longer needs to map the primary DMA region or the
      MMIO region.  Previously, end-of-frame waiting was done by busy waiting in the
      client-side driver until one of the MMIO registers (the current DMA pointer)
      matched a pointer to the end of primary DMA space.  By using interrupts, the
      busy waiting and the extra mappings are removed.
      
      A third ioctl was added to bootstrap DMA.  This ioctl, which is used by the
      X-server, moves a *LOT* of code from the X-server into the kernel.  This allows
      the kernel to do whatever needs to be done to setup DMA buffers.  The entire
      process and the locations of the buffers are hidden from user-mode.
      
      Additionally, a get_param query was added to differentiate between G4x0 cards
      and G550 cards.  A gap was left in the numbering sequence so that, if needed,
      G450 cards could be distinguished from G400 cards.  According to Ville
      Syrjälä, the G4x0 cards and the G550 cards handle anisotropic filtering
      differently.  This seems the most compatible way to let the client-side driver
      know which card it's own.  Doing this very small change now eliminates the
      need to bump the DRM minor version twice.
      
      http://marc.theaimsgroup.com/?l=dri-devel&m=106625815319773&w=2
      
      (airlied - this may not work at this point, I think the follow on buffer
       cleanup patches will be needed)
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      6795c985
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4