1. 25 11月, 2008 1 次提交
  2. 11 11月, 2008 1 次提交
    • D
      drm/i915: Filter pci devices based on PCI_CLASS_DISPLAY_VGA · afa21e05
      Dave Airlie 提交于
      This fixes hangs on 855-class hardware by avoiding double attachment of the
      driver due to the stub second head device having the same pci id as the real
      device.
      
      Other DRM drivers probably want this treatment as well, but I'm applying it
      just to this one for safety. But we should clean up the drm_pciids.h mess
      now so that each driver has its own pci id list header in its own directory.
      Lets do that in the next release.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      afa21e05
  3. 18 10月, 2008 2 次提交
    • E
      drm: Add GEM ("graphics execution manager") to i915 driver. · 673a394b
      Eric Anholt 提交于
      GEM allows the creation of persistent buffer objects accessible by the
      graphics device through new ioctls for managing execution of commands on the
      device.  The userland API is almost entirely driver-specific to ensure that
      any driver building on this model can easily map the interface to individual
      driver requirements.
      
      GEM is used by the 2d driver for managing its internal state allocations and
      will be used for pixmap storage to reduce memory consumption and enable
      zero-copy GLX_EXT_texture_from_pixmap, and in the 3d driver is used to enable
      GL_EXT_framebuffer_object and GL_ARB_pixel_buffer_object.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      673a394b
    • J
      drm: Rework vblank-wait handling to allow interrupt reduction. · 0a3e67a4
      Jesse Barnes 提交于
      Previously, drivers supporting vblank interrupt waits would run the interrupt
      all the time, or all the time that any 3d client was running, preventing the
      CPU from sleeping for long when the system was otherwise idle.  Now, interrupts
      are disabled any time that no client is waiting on a vblank event. The new
      method uses vblank counters on the chipsets when the interrupts are turned
      off, rather than counting interrupts, so that we can continue to present
      accurate vblank numbers.
      
      Co-author: Michel Dänzer <michel@tungstengraphics.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      0a3e67a4
  4. 27 7月, 2008 1 次提交
  5. 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
  6. 20 6月, 2008 1 次提交
  7. 13 6月, 2008 1 次提交
  8. 26 4月, 2008 1 次提交
  9. 07 2月, 2008 4 次提交
  10. 20 10月, 2007 1 次提交
  11. 15 10月, 2007 2 次提交
  12. 17 7月, 2007 1 次提交
  13. 11 7月, 2007 7 次提交
  14. 08 5月, 2007 1 次提交
  15. 19 3月, 2007 1 次提交
  16. 13 2月, 2007 1 次提交
  17. 07 12月, 2006 2 次提交
  18. 22 9月, 2006 4 次提交
  19. 05 4月, 2006 1 次提交
  20. 02 2月, 2006 1 次提交
  21. 11 1月, 2006 1 次提交
  22. 02 1月, 2006 1 次提交
  23. 11 11月, 2005 1 次提交
  24. 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
  25. 29 9月, 2005 1 次提交