1. 13 3月, 2009 1 次提交
    • B
      drm: Split drm_map and drm_local_map · f77d390c
      Benjamin Herrenschmidt 提交于
      Once upon a time, the DRM made the distinction between the drm_map
      data structure exchanged with user space and the drm_local_map used
      in the kernel.
      
      For some reasons, while the BSD port still has that "feature", the
      linux part abused drm_map for kernel internal usage as the local
      map only existed as a typedef of the struct drm_map.
      
      This patch fixes it by declaring struct drm_local_map separately
      (though its content is currently identical to the userspace variant),
      and changing the kernel code to only use that, except when it's a
      user<->kernel interface (ie. ioctl).
      
      This allows subsequent changes to the in-kernel format
      
      I've also replaced the use of drm_local_map_t with struct drm_local_map
      in a couple of places. Mostly by accident but they are the same (the
      former is a typedef of the later) and I have some remote plans and
      half finished patch to completely kill the drm_local_map_t typedef
      so I left those bits in.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      f77d390c
  2. 19 1月, 2009 1 次提交
  3. 07 1月, 2009 1 次提交
  4. 29 12月, 2008 8 次提交
  5. 25 11月, 2008 1 次提交
  6. 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
  7. 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
  8. 27 7月, 2008 1 次提交
  9. 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
  10. 20 6月, 2008 1 次提交
  11. 13 6月, 2008 1 次提交
  12. 26 4月, 2008 1 次提交
  13. 07 2月, 2008 4 次提交
  14. 20 10月, 2007 1 次提交
  15. 15 10月, 2007 2 次提交
  16. 17 7月, 2007 1 次提交
  17. 11 7月, 2007 7 次提交
  18. 08 5月, 2007 1 次提交
  19. 19 3月, 2007 1 次提交
  20. 13 2月, 2007 1 次提交
  21. 07 12月, 2006 2 次提交