1. 13 3月, 2009 2 次提交
    • 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
    • B
      drm: Use resource_size_t for drm_get_resource_{start, len} · d883f7f1
      Benjamin Herrenschmidt 提交于
      The DRM uses its own wrappers to obtain resources from PCI devices,
      which currently convert the resource_size_t into an unsigned long.
      
      This is broken on 32-bit platforms with >32-bit physical address
      space.
      
      This fixes them, along with a few occurences of unsigned long used
      to store such a resource in drivers.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      d883f7f1
  2. 03 3月, 2009 1 次提交
  3. 29 12月, 2008 3 次提交
  4. 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
  5. 07 2月, 2008 3 次提交
  6. 20 10月, 2007 1 次提交
  7. 15 10月, 2007 2 次提交
  8. 25 8月, 2007 1 次提交
  9. 23 7月, 2007 1 次提交
  10. 12 7月, 2007 1 次提交
  11. 11 7月, 2007 6 次提交
  12. 11 3月, 2007 1 次提交
  13. 08 2月, 2007 3 次提交
  14. 07 12月, 2006 1 次提交
  15. 26 10月, 2006 1 次提交
  16. 22 9月, 2006 6 次提交
  17. 23 4月, 2006 1 次提交
    • D
      drm: possible cleanups · 5d23fafb
      Dave Airlie 提交于
      This patch contains the following possible cleanups:
      - make the following needlessly global function static:
       - drm_bufs.c: drm_addbufs_fb()
      - remove the following unused EXPORT_SYMBOL's:
       - drm_agpsupport.c: drm_agp_bind_memory
       - drm_bufs.c: drm_rmmap_locked
       - drm_bufs.c: drm_rmmap
       - drm_stub.c: drm_get_dev
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      5d23fafb
  18. 19 3月, 2006 1 次提交
  19. 02 2月, 2006 1 次提交
  20. 11 1月, 2006 1 次提交
  21. 02 1月, 2006 1 次提交
  22. 24 10月, 2005 1 次提交