f77d390c97
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> |
||
---|---|---|
.. | ||
dvo.h | ||
dvo_ch7xxx.c | ||
dvo_ch7017.c | ||
dvo_ivch.c | ||
dvo_sil164.c | ||
dvo_tfp410.c | ||
i915_dma.c | ||
i915_drv.c | ||
i915_drv.h | ||
i915_gem.c | ||
i915_gem_debug.c | ||
i915_gem_proc.c | ||
i915_gem_tiling.c | ||
i915_ioc32.c | ||
i915_irq.c | ||
i915_mem.c | ||
i915_opregion.c | ||
i915_reg.h | ||
i915_suspend.c | ||
intel_bios.c | ||
intel_bios.h | ||
intel_crt.c | ||
intel_display.c | ||
intel_drv.h | ||
intel_dvo.c | ||
intel_fb.c | ||
intel_hdmi.c | ||
intel_i2c.c | ||
intel_lvds.c | ||
intel_modes.c | ||
intel_sdvo.c | ||
intel_sdvo_regs.h | ||
intel_tv.c | ||
Makefile |