kernel_optimize_test/include/drm
Benjamin Herrenschmidt f77d390c97 drm: Split drm_map and drm_local_map
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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-03-13 14:23:56 +10:00
..
drm_core.h
drm_crtc_helper.h drm: disable encoders before re-routing them 2009-02-25 14:42:23 +10:00
drm_crtc.h drm: Use resource_size_t for drm_get_resource_{start, len} 2009-03-13 14:23:56 +10:00
drm_edid.h drm: fix EDID parser problem with positive/negative hsync/vsync 2009-03-11 12:18:48 +10:00
drm_hashtab.h
drm_memory_debug.h
drm_memory.h
drm_mode.h drm: sanitise drm modesetting API + remove unused hotplug 2008-12-29 17:47:25 +10:00
drm_os_linux.h
drm_pciids.h drm/i915: Filter pci devices based on PCI_CLASS_DISPLAY_VGA 2008-11-11 18:02:12 +10:00
drm_sarea.h drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
drm_sman.h
drm.h drm: Rip out the racy, unused vblank signal code. 2009-01-28 07:50:14 -08:00
drmP.h drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
i810_drm.h
i830_drm.h
i915_drm.h drm/i915: add fence register management to execbuf 2009-02-08 21:38:02 +10:00
Kbuild DRM: add mode setting support 2008-12-29 17:47:23 +10:00
mga_drm.h
r128_drm.h
radeon_drm.h
savage_drm.h
sis_drm.h
via_drm.h