1. 29 12月, 2008 2 次提交
    • D
      drm: move to kref per-master structures. · 7c1c2871
      Dave Airlie 提交于
      This is step one towards having multiple masters sharing a drm
      device in order to get fast-user-switching to work.
      
      It splits out the information associated with the drm master
      into a separate kref counted structure, and allocates this when
      a master opens the device node. It also allows the current master
      to abdicate (say while VT switched), and a new master to take over
      the hardware.
      
      It moves the Intel and radeon drivers to using the sarea from
      within the new master structures.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7c1c2871
    • D
      drm: cleanup exit path for module unload · e7f7ab45
      Dave Airlie 提交于
      The current sub-module unload exit path is a mess, it tries
      to abuse the idr. Just keep a list of devices per driver struct
      and free them in-order on rmmod.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e7f7ab45
  2. 25 11月, 2008 1 次提交
  3. 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
  4. 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
  5. 27 7月, 2008 1 次提交
  6. 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
  7. 20 6月, 2008 1 次提交
  8. 13 6月, 2008 1 次提交
  9. 26 4月, 2008 1 次提交
  10. 07 2月, 2008 4 次提交
  11. 20 10月, 2007 1 次提交
  12. 15 10月, 2007 2 次提交
  13. 17 7月, 2007 1 次提交
  14. 11 7月, 2007 7 次提交
  15. 08 5月, 2007 1 次提交
  16. 19 3月, 2007 1 次提交
  17. 13 2月, 2007 1 次提交
  18. 07 12月, 2006 2 次提交
  19. 22 9月, 2006 4 次提交
  20. 05 4月, 2006 1 次提交
  21. 02 2月, 2006 1 次提交
  22. 11 1月, 2006 1 次提交
  23. 02 1月, 2006 1 次提交
  24. 11 11月, 2005 1 次提交